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