Sjabloon:Project: verschil tussen versies

 
(22 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 15: Regel 15:
 
|Show summary=
 
|Show summary=
 
|Show navigation tree=
 
|Show navigation tree=
  +
|Create process and content pages=
  +
|Show new page button=
 
|Show sub projects=
 
|Show sub projects=
 
|Show participants=
 
|Show participants=
 
|Show sources=
 
|Show sources=
  +
|EMM access control=
 
}}
 
}}
 
</pre>
 
</pre>
Regel 52: Regel 55:
 
{{#set:End date={{{End date|}}}}}
 
{{#set:End date={{{End date|}}}}}
 
{{#set:Summary={{{Summary|}}}}}
 
{{#set:Summary={{{Summary|}}}}}
  +
{{#arraymap:{{{EMMAccessControl|}}}|,|@@@@|{{#set:EMM access control=@@@@}}}}
 
{{#set:PR ID={{PAGENAME}} - {{{Name|}}} - {{{Start date|}}}}}
 
{{#set:PR ID={{PAGENAME}} - {{{Name|}}} - {{{Start date|}}}}}
 
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
 
{{#vardefine:varPaginanaam|{{PAGENAME}}}}
Regel 59: Regel 63:
 
{{#vardefine:varResultaten|{{#var:varPaginanaam}} - resultaten}}
 
{{#vardefine:varResultaten|{{#var:varPaginanaam}} - resultaten}}
 
</div>
 
</div>
{{#ifeq: {{{Show summary|}}}|Nee||{{#if: {{#var:varTemplateAdditionalShow}}|{{ {{#var:varTemplateAdditionalShow}} }}}} }}
+
{{#ifeq: {{{Show summary|}}}|Nee||
  +
== Project summary ==
  +
 
  +
{{#show: {{#var:varPaginanaam}} | ?Summary}}}}
  +
{{#if: {{#var:varTemplateAdditionalShow}}|{{ {{#var:varTemplateAdditionalShow}} }}}}
  +
{{References}}
 
{{#ifeq: {{{Show navigation tree|}}}|Nee||
 
{{#ifeq: {{{Show navigation tree|}}}|Nee||
 
== Project results and process ==
 
== Project results and process ==
{{Navigation tree project|TopContext={{#var:varTopcontext}}
+
{{#ifeq: {{{Show new page button|}}}|Nee||{{#formlink:form=Light Context
                                          |SuperContext={{#var:varPaginanaam}}
+
| Light Context[Supercontext]={{#var:varPaginanaam}}
                                          |TitleSuperContext={{{Name|}}}
+
| Light Context[Topcontext]={{#var:varTopcontext}}
                                          |ProcessPreload={{#var:varProcessPreload}}
+
| Light Context[Context type]=Situation
                                          |ProcessName={{#var:varAanpak}}
+
| Light Context[Heading]=New page
                                          |ContentPreload={{#var:varContentPreload}}
+
| preload={{#var:varNewPagePreload}} <!-- gezet in een config template -->
                                          |ContentName={{#var:varResultaten}}
+
| link text=New page
}}
+
| link type=button
}} <!-- end #ifeq: show navigation tree --><!--
+
}} }}
  +
{{#ifeq: {{{Create process and content pages|}}}|Ja|
  +
    {{Navigation tree project|TopContext={{#var:varTopcontext}}
  +
        |SuperContext={{#var:varPaginanaam}}
  +
        |TitleSuperContext={{{Name|}}}
  +
        |ProcessPreload={{#var:varProcessPreload}}
  +
        |ProcessName={{#var:varAanpak}}
  +
        |ContentPreload={{#var:varContentPreload}}
  +
        |ContentName={{#var:varResultaten}} }}|
  +
    {{Navigation tree project|TopContext={{#var:varTopcontext}}
  +
        |SuperContext={{#var:varPaginanaam}}
  +
        |TitleSuperContext={{{Name|}}} }}
  +
}} }} <!-- 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 108: Regel 129:
 
| 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||{{#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 128: Regel 150:
 
{{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]]
 
{{#ask: [[Category:Project]] [[Supercontext::{{PAGENAME}}]]
 
| ?Self=Project
 
| ?Self=Project
| ?Start date=Start date
+
| ?Start date#LOCL=Start date
| ?End date=End date
+
| ?End date#LOCL=End date
 
| ?Summary=Summary
 
| ?Summary=Summary
 
| mainlabel=-
 
| mainlabel=-
Regel 181: Regel 203:
 
| ?Dct:title=Title
 
| ?Dct:title=Title
 
| ?Dct:creator=Author(s)
 
| ?Dct:creator=Author(s)
| ?Dct:date=Date
+
| ?Dct:date#LOCL=Date
 
| default=''No sources added yet.''
 
| default=''No sources added yet.''
 
| format=table
 
| format=table
Regel 192: Regel 214:
 
| ?Dct:title=Title
 
| ?Dct:title=Title
 
| ?Dct:creator=Author(s)
 
| ?Dct:creator=Author(s)
| ?Dct:date=Date
+
| ?Dct:date#LOCL=Date
 
| default=''No sources added yet.''
 
| default=''No sources added yet.''
 
| format=table
 
| format=table
 
}}
 
}}
  +
  +
== Lessons learned ==
  +
  +
{{#formlink:form=Lesson Learned
  +
| link text=New lesson learned
  +
| link type=button
  +
}}
  +
  +
{{#ask: [[Category:Lesson Learned]]
  +
| ?Pagename=Page name
  +
| ?Heading=Title
  +
| ?Summary=Summary
  +
| default=''No lessons learned added yet.''
  +
| format=table
  +
}}
  +
 
</div>
 
</div>
 
</div>}} <!-- end #ifeq: show sources -->
 
</div>}} <!-- end #ifeq: show sources -->
 
[[Category:Project]]
 
[[Category:Project]]
 
</includeonly>
 
</includeonly>

Huidige versie van 3 nov 2018 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 summary=
|Show navigation tree=
|Create process and content pages=
|Show new page button=
|Show sub projects=
|Show participants=
|Show sources=
|EMM access control=
}}

Edit the page to see the template text.