Difference between revisions of "Template:Chapter in topic"
From Venlo Samenwerkingswijzer
Line 17: | Line 17: | ||
| | | | ||
|{{#switch: {{{SELECT|}}} | |{{#switch: {{{SELECT|}}} | ||
− | |sectie=<h2>{{{Section|}}}</h2>{{#vardefine:Section|{{{Section|}}} }} | + | |sectie=<h2>{{{Section|}}}</h2>{{#vardefine:Section|{{{Section|{{#vardefine:Section|}} }}} }} |
|hoofdstuk={{#vardefine: Chapter |{{#var:Topic}}/{{Safe title|Title={{{Name chapter|}}} }} }}<!--- | |hoofdstuk={{#vardefine: Chapter |{{#var:Topic}}/{{Safe title|Title={{{Name chapter|}}} }} }}<!--- | ||
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= | + | ---><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: |
Revision as of 12:09, 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.