k (Hans heeft de pagina Sjabloon:CNTR project hernoemd naar Sjabloon:CNTR Project zonder een doorverwijzing achter te laten)
|
|||
Regel 13: | Regel 13: | ||
<!-- Let op: var:varName is een globale variable gezet in Contributor template --> |
<!-- Let op: var:varName is een globale variable gezet in Contributor template --> |
||
{{#vardefine:varProject|{{{Project|}}}}} |
{{#vardefine:varProject|{{{Project|}}}}} |
||
+ | {{#if: {{#var:varProject}} | |
||
{{#vardefine:varPRID|{{#show: {{#var:varProject}} | ?PR ID }}}} |
{{#vardefine:varPRID|{{#show: {{#var:varProject}} | ?PR ID }}}} |
||
{{#vardefine:varRol|{{{CNTR Role|}}}}} |
{{#vardefine:varRol|{{{CNTR Role|}}}}} |
||
Regel 26: | Regel 27: | ||
{{#set: Project|{{#var:varProject}}}} |
{{#set: Project|{{#var:varProject}}}} |
||
{{#set: Supercontext|{{#var:varProject}}}} |
{{#set: Supercontext|{{#var:varProject}}}} |
||
+ | }} <!-- endif --> |
||
</div> |
</div> |
||
</includeonly> |
</includeonly> |
This is the "CNTR Project" template. It should be called in the following format:
{{CNTR Project |Project= |CNTR Role= }}
Edit the page to see the template text.