Sjabloon:Project: verschil tussen versies

Regel 6: Regel 6:
 
{{Project
 
{{Project
 
|Supercontext=
 
|Supercontext=
  +
|Topcontext=
  +
|Project type=
 
|Name=
 
|Name=
 
|Summary=
 
|Summary=
Regel 15: Regel 17:
 
</noinclude><includeonly>__NOEDITSECTION__ __NOTOC__<div style="display:none;">
 
</noinclude><includeonly>__NOEDITSECTION__ __NOTOC__<div style="display:none;">
 
{{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}}
 
{{#arraymap:{{{Supercontext|}}}|,|@@@@|{{#set:Supercontext=@@@@}}}}
  +
{{#if: {{{Topcontext|}}} |
  +
{{#arraymap:{{{Topcontext|}}}|,|@@@@|{{#set:Topcontext=@@@@}}}}
  +
{{#vardefine:varTopcontext|{{{Topcontext|}}}}}
  +
|
  +
{{#set:Topcontext={{var:varPaginanaam}}}}
  +
{{#vardefine:varTopcontext|{{#var:varPaginanaam}}}}
  +
}}
  +
{{#arraymap:{{{Project type|}}}|,|@@@@|{{#set:Project type=@@@@}}}}
  +
{{#vardefine:varProjectType|{{{Project type|}}}}}
 
{{#set:Context type=Situation}}
 
{{#set:Context type=Situation}}
 
{{#set:Semantic title|{{{Name|}}}}}
 
{{#set:Semantic title|{{{Name|}}}}}
Regel 26: Regel 37:
 
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
 
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
 
{{#set:Model link={{#var:varPaginanaam}}}}
 
{{#set:Model link={{#var:varPaginanaam}}}}
{{#if: {{{Topcontext|}}} |
 
{{#arraymap:{{{Topcontext|}}}|,|@@@@|{{#set:Topcontext=@@@@}}}}
 
{{#vardefine:varTopcontext|{{{Topcontext|}}}}}
 
|
 
{{#set:Topcontext={{var:varPaginanaam}}}}
 
{{#vardefine:varTopcontext|{{#var:varPaginanaam}}}}
 
}}
 
 
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes -->
 
{{#set:Self={{#var:varPaginanaam}}}} <!-- for semantic title purposes -->
 
{{#set:Pagename={{#var:varPaginanaam}}}}
 
{{#set:Pagename={{#var:varPaginanaam}}}}
Regel 118: Regel 122:
   
 
== Deelprojecten ==
 
== Deelprojecten ==
  +
  +
{{New projects|Project type={{#var:varProjectType}}|Topcontext={{#var:varTopcontext}}}}
  +
  +
{{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]]
  +
| ?Self=Project
  +
| ?Name=Naam
  +
| ?Start date=Startdatum
  +
| ?End date=Einddatum
  +
| ?Summary=Samenvatting
  +
| mainlabel=-
  +
| limit=500
  +
| format=table
  +
}}
   
   

Versie van 13 mrt 2016 om 13:24

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.