Difference between revisions of "Template:Chapter in topic"

From Venlo Samenwerkingswijzer
Line 24: Line 24:
 
|Belongs to section={{#if:{{#var:Section}}|{{#var:Section}}|{{#var:Topic}} }}
 
|Belongs to section={{#if:{{#var:Section}}|{{#var:Section}}|{{#var:Topic}} }}
 
}}<!---
 
}}<!---
--->{{#ask: [[{{#var:Chapter}}]] |format=embedded |embedonly={{#ifingroup:admin|no|yes}} }}<!---
+
--->{{#vardefine: EXISTS| {{#ask: [[{{#var:Chapter}}]] [[Modification date::+]] |link=none|default=no}} }}<!---
 +
--->{{#ifeq:{{#var:EXISTS}}|no||{{#ask: [[{{#var:Chapter}}]] |format=embedded |embedonly={{#ifingroup:admin|no|yes}} }}}}<!---
  
--->{{#vardefine: EXISTS| {{#ask: [[{{#var:Chapter}}]] [[Modification date::+]] |link=none|default=no}} }}<!---
 
 
--->{{#ifingroup:admin|{{#ifeq:{{#var:EXISTS}}|no|{{#formlink:form=Chapter
 
--->{{#ifingroup:admin|{{#ifeq:{{#var:EXISTS}}|no|{{#formlink:form=Chapter
 
|link text=<h1 class="hoofdstuk-kop">{{{Name chapter|}}}</h1>
 
|link text=<h1 class="hoofdstuk-kop">{{{Name chapter|}}}</h1>

Revision as of 12:35, 8 November 2016

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

{{Chapter in topic
|Name chapter=
|Chapter level=
|Topic={{#var:Topic}}
|Ordernumber until now={{#var:Ordernumber}}
|Section=
}}

Edit the page to see the template text.