Sjabloon:Project: verschil tussen versies

(Versie 45210 van Hans (overleg) ongedaan gemaakt)
Regel 108: Regel 108:
 
| Light Context[Heading]={{{Name|}}} - process
 
| Light Context[Heading]={{{Name|}}} - process
 
| preload={{#var:varProcessPreload}} --> <!-- gezet in een config template -->
 
| preload={{#var:varProcessPreload}} --> <!-- gezet in een config template -->
<!-- }} }} --> {{#ifeq: {{{Show sub projects|}}}|Nee||<div class="toccolours mw-collapsible mw-collapsed">
+
<!-- }} }} --> {{#ifeq: {{{Show sub projects|}}}|Nee||{{#ifexpr: {{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]] | format=count}} > 0 |
  +
== Sub projects ==
  +
{{New projects|Project type={{#var:varProjectType}}|Topcontext={{#var:varTopcontext}}}}
  +
 
  +
{{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]]
  +
| ?Self=Project
  +
| ?Start date=Start date
  +
| ?End date=End date
  +
| ?Summary=Summary
  +
| mainlabel=-
  +
| default=''No sub projects identified yet.''
  +
| format=table
  +
}}
  +
| <div class="toccolours mw-collapsible mw-collapsed">
 
== Sub projects ==
 
== Sub projects ==
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
Regel 123: Regel 136:
 
}}
 
}}
 
</div>
 
</div>
</div>}} <!-- end #ifeq: show sub projects -->
+
</div>}} <!-- end ifexpr --> }} <!-- end #ifeq: show sub projects -->
 
{{#ifeq: {{{Show participants|}}}|Nee||<div class="toccolours mw-collapsible mw-collapsed">
 
{{#ifeq: {{{Show participants|}}}|Nee||<div class="toccolours mw-collapsible mw-collapsed">
 
== Participants and students ==
 
== Participants and students ==

Versie van 13 mei 2017 om 18:44

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

{{Project
|Supercontext=
|Topcontext=
|Project type=
|Name=
|Summary=
|Start date=
|End date=
|Show summary=
|Show navigation tree=
|Show sub projects=
|Show participants=
|Show sources=
}}

Edit the page to see the template text.