Sjabloon:STD Project: verschil tussen versies

 
(5 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 1: Regel 1:
 
<noinclude>
 
<noinclude>
  +
[[Category:EMont core]]
  +
[[Category:EMont core protected]]
 
This is the "STD Project" template.
 
This is the "STD Project" template.
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
 
{{STD Project
 
{{STD Project
|PR ID=
+
|Project=
 
|STD Role=
 
|STD Role=
 
}}
 
}}
Regel 10: Regel 12:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
<!-- for test purposes
+
<div style="display:none;">
{|
 
! Project:
 
| [[ {{#ask: [[Category:Project]] [[PR ID::{{{PR ID|}}}]] | link=none}} | {{{PR ID|}}} ]]
 
|-
 
! Rol:
 
| {{{STD Role|}}}
 
|}
 
--><div style="display:none;">
 
 
<!-- Let op: var:varName is een globale variable gezet in Student template -->
 
<!-- Let op: var:varName is een globale variable gezet in Student template -->
{{#vardefine:varProject|{{#ask: [[Category:Project]][[PR ID::{{{PR ID|}}}]] | link=none}}}}
+
{{#vardefine:varProject|{{{Project|}}}}}
  +
{{#vardefine:varPRID|{{#show: {{#var:varProject}} | ?PR ID }}}}
  +
{{#vardefine:varRol|{{{STD Role|}}}}}
 
{{#subobject:
 
{{#subobject:
|Project ID={{{PR ID|}}}
+
|Project ID={{#var:varPRID}}
 
|Project={{#var:varProject}}
 
|Project={{#var:varProject}}
 
|Name={{#var:varName}}
 
|Name={{#var:varName}}
|STD Role={{{STD Role|}}}|+sep=,
+
|STD Role={{#var:varRol}} |+sep=,
 
|Self={{PAGENAME}}
 
|Self={{PAGENAME}}
 
|STD back link={{PAGENAME}}
 
|STD back link={{PAGENAME}}
 
}}
 
}}
{{#set: Project ID={{{PR ID|}}}}}
+
{{#set: Project ID={{#var:varPRID}}}}
 
{{#set: Project|{{#var:varProject}}}}
 
{{#set: Project|{{#var:varProject}}}}
 
{{#set: Supercontext|{{#var:varProject}}}}
 
{{#set: Supercontext|{{#var:varProject}}}}
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Huidige versie van 13 nov 2016 om 14:49

This is the "STD Project" template. It should be called in the following format:

{{STD Project
|Project=
|STD Role=
}}

Edit the page to see the template text.