Sjabloon:Project: verschil tussen versies

Regel 14: Regel 14:
 
|End date=
 
|End date=
 
|Show info=
 
|Show info=
  +
|Show navigation tree=
  +
|Show sub projects=
  +
|Show participants=
  +
|Show sources=
 
}}
 
}}
 
</pre>
 
</pre>
Regel 56: Regel 60:
 
</div>
 
</div>
 
{{#if: {{#var:varTemplateAdditionalShow}}|{{ {{#var:varTemplateAdditionalShow}} }}}}
 
{{#if: {{#var:varTemplateAdditionalShow}}|{{ {{#var:varTemplateAdditionalShow}} }}}}
{{#ifeq: {{{Show info|}}}|Nee||
+
{{#ifeq: {{{Show info|}}}|Nee||{{#ifeq: {{{Show navigation tree|}}}|Nee||
 
== Project results and process ==
 
== Project results and process ==
 
{{Navigation tree project|TopContext={{#var:varTopcontext}}
 
{{Navigation tree project|TopContext={{#var:varTopcontext}}
Regel 65: Regel 69:
 
                                           |ContentPreload={{#var:varContentPreload}}
 
                                           |ContentPreload={{#var:varContentPreload}}
 
                                           |ContentName={{#var:varResultaten}}
 
                                           |ContentName={{#var:varResultaten}}
}}<!--
+
}}
  +
}} <!-- end #ifeq: show navigation tree --><!--
 
'''Results:'''
 
'''Results:'''
 
{{#ifexist:{{#var:varResultaten}}|{{#ask: [[Category:Light Context]] [[Topcontext::{{#var:varTopcontext}}]]
 
{{#ifexist:{{#var:varResultaten}}|{{#ask: [[Category:Light Context]] [[Topcontext::{{#var:varTopcontext}}]]
Regel 103: 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 -->
<!-- }} }} -->{{#ifexpr: {{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]] | format=count}} > 0 |
+
<!-- }} }} --> {{#ifeq: {{{Show sub projects|}}}|Nee||{{#ifexpr: {{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]] | format=count}} > 0 |
 
== Sub projects ==
 
== Sub projects ==
 
{{New projects|Project type={{#var:varProjectType}}|Topcontext={{#var:varTopcontext}}}}
 
{{New projects|Project type={{#var:varProjectType}}|Topcontext={{#var:varTopcontext}}}}
Regel 131: Regel 136:
 
}}
 
}}
 
</div>
 
</div>
</div> }} <!-- end ifexpr -->
+
</div> }} <!-- end ifexpr --> }} <!-- end #ifeq: show sub projects -->
 
}} <!-- end ifexpr show info -->
 
}} <!-- end ifexpr show info -->
<div class="toccolours mw-collapsible mw-collapsed">
+
{{#ifeq: {{{Show participants|}}}|Nee||<div class="toccolours mw-collapsible mw-collapsed">
 
== Participants and students ==
 
== Participants and students ==
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
Regel 155: Regel 160:
 
}}
 
}}
 
</div>
 
</div>
</div>
+
</div>}} <!-- end #ifeq: show sub projects -->
<div class="toccolours mw-collapsible mw-collapsed">
+
{{#ifeq: {{{Show sources|}}}|Nee||<div class="toccolours mw-collapsible mw-collapsed">
 
== Sources ==
 
== Sources ==
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
Regel 193: Regel 198:
 
}}
 
}}
 
</div>
 
</div>
</div>
+
</div>}} <!-- end #ifeq: show sources -->
 
[[Category:Project]]
 
[[Category:Project]]
 
</includeonly>
 
</includeonly>

Versie van 13 mei 2017 om 17:19

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 info=
|Show navigation tree=
|Show sub projects=
|Show participants=
|Show sources=
}}

Edit the page to see the template text.