Sjabloon:Projecten: verschil tussen versies

Regel 20: Regel 20:
 
{{#set:Model link={{#var:varPaginanaam}}}}
 
{{#set:Model link={{#var:varPaginanaam}}}}
 
</div>
 
</div>
{{#ifexpr: {{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]] | format=count}} > 0 |
 
 
== Projecten ==
 
== Projecten ==
  +
  +
{{#arraymap:{{{Project type|}}}|,|@@@@|
  +
{{#switch: @@@@
  +
| Standaard = {{New project|Form=Project|Text=Nieuw 'traditioneel' project}}
  +
| SSM = {{New project|Form=Project SSM|Text=Nieuw SSM-project}}
  +
}}
  +
}}
   
 
{{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]]
 
{{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]]
Regel 33: Regel 39:
 
| format=datatables
 
| format=datatables
 
}}
 
}}
}}
+
 
 
{{#ifexpr: {{#ask: [[Category:Projecten]] [[Supercontext::{{PAGENAME}}]] | format=count}} > 0 |
 
{{#ifexpr: {{#ask: [[Category:Projecten]] [[Supercontext::{{PAGENAME}}]] | format=count}} > 0 |
 
== Onderzoeksprogramma's ==
 
== Onderzoeksprogramma's ==

Versie van 27 dec 2015 om 13:50

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

{{Projecten
|Supercontext=
|Heading=
|Project type=
}}

Edit the page to see the template text.