Difference between revisions of "Template:Chapter in topic"

From Venlo Samenwerkingswijzer
Line 26: Line 26:
 
--->{{#vardefine: Ordernumber|{{#expr: {{#var:Ordernumber}} + 1}} }}<!---
 
--->{{#vardefine: Ordernumber|{{#expr: {{#var:Ordernumber}} + 1}} }}<!---
  
---><h3 class="ow-hoofdstuk-kop">{{Chapter level|Chapter level={{{Chapter level|}}} }} {{#formredlink:form=Chapter|link text={{#var:Ordernumber}}. {{{Name chapter|}}}|existing page link text={{#var:Ordernumber}}. {{#show: {{#var:Chapter}} |?Display title of}} |link type=link|Chapter[Title]={{{Name chapter|}}}|target={{#var:Chapter}} }} <!---
+
---><h3 class="ow-hoofdstuk-kop">{{Chapter level|Chapter level={{{Chapter level|}}} }} {{#formredlink:form=Chapter|link text=\{{{Name chapter|}}}|existing page link text={{#show: {{#var:Chapter}} |?Display title of}} |link type=link|Chapter[Title]={{{Name chapter|}}}|target={{#var:Chapter}} }} <!---
  
 
--->{{#subobject:  
 
--->{{#subobject:  
Line 32: Line 32:
 
|Ordernumber={{#var:Ordernumber}}
 
|Ordernumber={{#var:Ordernumber}}
 
|Item={{#var:Chapter}}
 
|Item={{#var:Chapter}}
|Chapter level={{{Chapter level|}}}{{#if:{{{Section|}}}||
+
|Chapter level={{{Chapter level|}}}
|Belongs to section={{#var:Section}} }}
+
|Belongs to section={{#var:Section}}
 
}}</h3><!---
 
}}</h3><!---
  

Revision as of 12:06, 3 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.