Sjabloon:Project: verschil tussen versies

Regel 26: Regel 26:
 
}}
 
}}
 
{{#vardefine:varProjectType|{{{Project type|}}}}}
 
{{#vardefine:varProjectType|{{{Project type|}}}}}
{{#arraymap:{{#var:varProjectType}}|,|@@@@|{{#set:Project type=@@@@}}}}
+
<!-- for backward compatitibility, if no Project types are propagated -->
<!-- for backward compatitibility, if no Project types are propegated -->
 
 
{{#if: {{#var:varProjectType}} | |
 
{{#if: {{#var:varProjectType}} | |
 
{{#vardefine:varProjectType|
 
{{#vardefine:varProjectType|
{{#ask: [[Category:Projecten]] [[-Supercontext::{{#show: {{PAGENAME}} | ?Topcontext | link=none}}]]
+
{{#ask: [[Category:Projecten]] [[-Supercontext::{{#show: {{#var:varPaginanaam}} | ?Topcontext | link=none}}]]
 
| mainlabel=-
 
| mainlabel=-
 
| ?Project type=
 
| ?Project type=
 
}} }}
 
}} }}
 
}}
 
}}
  +
{{#arraymap:{{#var:varProjectType}}|,|@@@@|{{#set:Project type=@@@@}}}}
 
{{#set:Context type=Situation}}
 
{{#set:Context type=Situation}}
 
{{#set:Semantic title|{{{Name|}}}}}
 
{{#set:Semantic title|{{{Name|}}}}}

Versie van 13 mrt 2016 om 21:06

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

{{Project
|Supercontext=
|Topcontext=
|Project type=
|Name=
|Summary=
|Start date=
|End date=
}}

Edit the page to see the template text.