Difference between revisions of "Template:Samenwerking G"

From Dashboard samenwerking Wijchen
 
m
Line 12: Line 12:
 
|Subtitel=G. Bibliotheek
 
|Subtitel=G. Bibliotheek
 
}}{{Samenwerking menu}}<!--
 
}}{{Samenwerking menu}}<!--
 +
-->{{Link naar paginageschiedenis}}<!--
  
 
<div class="sw-heading">{{Anchor link|name=Bibliotheek}}<h3>Bibliotheek {{Formlink sw|Form=Samenwerking G|Returnto={{FULLPAGENAME}}#Bibliotheek }}</h3></div>
 
<div class="sw-heading">{{Anchor link|name=Bibliotheek}}<h3>Bibliotheek {{Formlink sw|Form=Samenwerking G|Returnto={{FULLPAGENAME}}#Bibliotheek }}</h3></div>
Line 24: Line 25:
 
   }}
 
   }}
 
}}}}<!--- end of switch--->}}<!--
 
}}}}<!--- end of switch--->}}<!--
-->{{#switch: {{{Delay publication|}}}
+
 
|Yes={{Work in progress}}
+
If Delay publication, show the Delay publication screen for user or viewer
|#default={{#if:{{{Documenten|}}}{{{Documenten weblink|}}}|
+
-->{{#ifeq:{{{Delay publication|}}} |Yes |
 +
{{#ifingroup:user
 +
|<!-- show delay publication screen for user -->
 +
{{Work in progress|For=Editor|Onderdeel=G|Target={{ROOTPAGENAME}}/G }}
 +
|<!-- show delay publication screen for anonymous viewer -->
 +
{{Work in progress}}
 +
}}<!-- end of #ifingroup:user -->
 +
}}<!-- end of #ifeq:Delay publication
 +
 
 +
If Delay is not enabled, OR viewer is user
 +
then show rest of the page
 +
-->{{#ifeq: {{#expr:{{#ifeq:{{{Delay publication|}}}|Yes|0|1}} or {{#ifingroup:user|1|0}} }}<!-- end of #expr -->
 +
|1
 +
|{{#if:{{{Documenten|}}}{{{Documenten weblink|}}}|
 
{{Samenwerking/item
 
{{Samenwerking/item
 
|1=Relevante documenten
 
|1=Relevante documenten
Line 33: Line 47:
  
 
{{{Documenten weblink|}}}
 
{{{Documenten weblink|}}}
 +
}}<!-- end of #if:Documenten -->
 +
}}<!-- end of {{Samenwerking/item}} -->
 +
}}<!-- end of #ifeq
  
}}}}
+
--></includeonly>
<!---end of delay switch:--->}}</includeonly>
 

Revision as of 11:43, 26 April 2018

{{Samenwerking G
|Documenten=
|Documenten weblink=
}}