Sjabloon:Project: verschil tussen versies

(Zie JIRA-issue EMT-1069.)
Regel 67: Regel 67:
 
</div>{{#ifeq: {{{Show edit button|}}}|Ja|<div style="text-align: right">
 
</div>{{#ifeq: {{{Show edit button|}}}|Ja|<div style="text-align: right">
 
----
 
----
{{#formlink:form={{#var:varDefaultForm}}|link text=Bewerk project info|link type=button|target={{#var:varPaginanaam}}}}</div>
+
{{#if:{{CURRENTLOGGEDUSER}}|{{#formlink:form={{#var:varDefaultForm}}|link text=Bewerk project info|link type=button|target={{#var:varPaginanaam}}}}</div>
}}
+
}}|}}
 
{{#ifeq: {{{Show summary|}}}|Nee||
 
{{#ifeq: {{{Show summary|}}}|Nee||
 
== Project info ==
 
== Project info ==
Regel 196: Regel 196:
 
== {{int: EMM Text Project Sources }} ==
 
== {{int: EMM Text Project Sources }} ==
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
{{#formlink:form=Resource Light
+
{{#if:{{CURRENTLOGGEDUSER}}|{{#formlink:form=Resource Light
 
| Resource Description[created in page]]={{#var:varPaginanaam}}
 
| Resource Description[created in page]]={{#var:varPaginanaam}}
 
| link text={{int: EMM Text New source }} (image, pdf, etc.)
 
| link text={{int: EMM Text New source }} (image, pdf, etc.)
 
| link type=button
 
| link type=button
}}
+
}}|}}
   
{{#formlink:form=Resource Hyperlink
+
{{#if:{{CURRENTLOGGEDUSER}}|{{#formlink:form=Resource Hyperlink
 
| Resource Description[created in page]]={{#var:varPaginanaam}}
 
| Resource Description[created in page]]={{#var:varPaginanaam}}
 
| link text={{int: EMM Text New hyperlink }} (websites, etc.)
 
| link text={{int: EMM Text New hyperlink }} (websites, etc.)
 
| link type=button
 
| link type=button
}}
+
}}|}}
   
 
=== {{int: EMM Text Project Sources created in this page }} ===
 
=== {{int: EMM Text Project Sources created in this page }} ===
Regel 232: Regel 232:
 
== {{int: EMM Text Project Lessons learned }} ==
 
== {{int: EMM Text Project Lessons learned }} ==
   
{{#formlink:form=Lesson Learned
+
{{#if:{{CURRENTLOGGEDUSER}}|{{#formlink:form=Lesson Learned
 
| link text={{int: EMM Text New lesson learned }}
 
| link text={{int: EMM Text New lesson learned }}
 
| link type=button
 
| link type=button
}}
+
}}|}}
   
 
{{#ask: [[Category:Lesson Learned]]
 
{{#ask: [[Category:Lesson Learned]]

Versie van 4 feb 2019 om 19:32

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.