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}} }}<!---
  
---><h2 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={{#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}} }} <!---
  
 
--->{{#subobject:  
 
--->{{#subobject:  
Line 33: Line 33:
 
|Item={{#var:Chapter}}
 
|Item={{#var:Chapter}}
 
|Chapter level={{{Chapter level|}}}
 
|Chapter level={{{Chapter level|}}}
}}</h2><!---
+
}}</h3><!---
  
 
--->{{#vardefineecho:Introductory text|{{#show: {{#var:Chapter}} | ?Introductory text }} }}<!----
 
--->{{#vardefineecho:Introductory text|{{#show: {{#var:Chapter}} | ?Introductory text }} }}<!----

Revision as of 13:25, 2 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.