Difference between revisions of "Template:Chapter in topic"
From Venlo Samenwerkingswijzer
Line 14: | Line 14: | ||
− | </noinclude><includeonly>{{#switch: {{{SELECT|}}} | + | </noinclude><includeonly><div class="row">{{#switch: {{{SELECT|}}} |
|sectie=<h1 style="font-weight:bold;">{{{Section|}}}</h1>{{#vardefine:Section|{{{Section|}}} }} | |sectie=<h1 style="font-weight:bold;">{{{Section|}}}</h1>{{#vardefine:Section|{{{Section|}}} }} | ||
|hoofdstuk={{#vardefine: Chapter |{{#var:Topic}}/{{Safe title|Title={{{Name chapter|}}} }} }}{{#set: Chapter={{#var:Chapter}} }}{{#vardefine: Ordernumber|{{#expr: {{#var:Ordernumber}} + 1}} }}{{#subobject: | |hoofdstuk={{#vardefine: Chapter |{{#var:Topic}}/{{Safe title|Title={{{Name chapter|}}} }} }}{{#set: Chapter={{#var:Chapter}} }}{{#vardefine: Ordernumber|{{#expr: {{#var:Ordernumber}} + 1}} }}{{#subobject: | ||
Line 31: | Line 31: | ||
:<div style="font-size:small">{{Fa|pencil-square-o fa-fw}} Maak dit hoofdstuk aan</div> | :<div style="font-size:small">{{Fa|pencil-square-o fa-fw}} Maak dit hoofdstuk aan</div> | ||
|link type=link|Chapter[Title]={{{Name chapter|}}}|target={{#var:Chapter}} }} }} }} | |link type=link|Chapter[Title]={{{Name chapter|}}}|target={{#var:Chapter}} }} }} }} | ||
− | }}</includeonly> | + | }}</div></includeonly> |
Revision as of 12:38, 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.