Sjabloon:Project: verschil tussen versies

(Zie JIRA-issue EMT-1069.)
Regel 82: Regel 82:
 
{{#ifeq: {{{Show navigation tree|}}}|Nee||
 
{{#ifeq: {{{Show navigation tree|}}}|Nee||
 
== {{int: EMM Text Project Project results and process }} ==
 
== {{int: EMM Text Project Project results and process }} ==
{{#ifeq: {{{Show new page button|}}}|Nee||{{#formlink:form=Light Context
+
{{#ifeq: {{{Show new page button|}}}|Nee||{{#if:{{CURRENTLOGGEDUSER}}|{{#formlink:form=Light Context
 
| Light Context[Supercontext]={{#var:varPaginanaam}}
 
| Light Context[Supercontext]={{#var:varPaginanaam}}
 
| Light Context[Topcontext]={{#var:varTopcontext}}
 
| Light Context[Topcontext]={{#var:varTopcontext}}
Regel 90: Regel 90:
 
| link text={{int: EMM Text Project New page }}
 
| link text={{int: EMM Text Project New page }}
 
| link type=button
 
| link type=button
}} }}
+
}}|}} }}
 
{{#ifeq: {{{Create process and content pages|}}}|Ja|
 
{{#ifeq: {{{Create process and content pages|}}}|Ja|
 
     {{Navigation tree project|TopContext={{#var:varTopcontext}}
 
     {{Navigation tree project|TopContext={{#var:varTopcontext}}

Versie van 4 feb 2019 om 19:28

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

{{Project
|Supercontext=
|Topcontext=
|Project type=
|Name=
|Summary=
|Start date=
|End date=
|Is homepage=
|Show edit button=
|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.