(Nieuwe pagina aangemaakt met '<noinclude> This is the "CNTR Project" template. It should be called in the following format: <pre> {{CNTR Project |Project= |CNTR Role= }} </pre> Edit the page to...')
|
|
||
(3 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 1: | Regel 1: | ||
<noinclude> |
<noinclude> |
||
+ | [[Category:EMont core]] |
||
+ | [[Category:EMont core protected]] |
||
This is the "CNTR Project" template. |
This is the "CNTR Project" template. |
||
It should be called in the following format: |
It should be called in the following format: |
||
Regel 13: | Regel 15: | ||
<!-- 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 29: | ||
{{#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.