Difference between revisions of "Template:Chapter in topic"
From Venlo Samenwerkingswijzer
Line 16: | Line 16: | ||
</noinclude><includeonly>{{#switch: {{{SELECT|}}} | </noinclude><includeonly>{{#switch: {{{SELECT|}}} | ||
|sectie=<h2>{{{Section|}}}</h2>{{#vardefine:Section|{{{Section|}}} }} | |sectie=<h2>{{{Section|}}}</h2>{{#vardefine:Section|{{{Section|}}} }} | ||
− | |hoofdstuk={{# | + | |hoofdstuk={{#vardefine: Chapter |{{#var:Topic}}/{{Safe title|Title={{{Name chapter|}}} }} }}{{#set: Chapter={{#var:Chapter}} }}{{#vardefine: Ordernumber|{{#expr: {{#var:Ordernumber}} + 1}} }}{{#subobject: |
|Item ordened in={{PAGENAME}} | |Item ordened in={{PAGENAME}} | ||
|Name chapter={{{Name chapter|}}} | |Name chapter={{{Name chapter|}}} |
Revision as of 16:26, 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.