Difference between revisions of "Template:Chapter in topic"

From Venlo Samenwerkingswijzer
Line 24: Line 24:
 
|Belongs to section={{#if:{{#var:Section}}|{{#var:Section}}|{{#var:Topic}} }}
 
|Belongs to section={{#if:{{#var:Section}}|{{#var:Section}}|{{#var:Topic}} }}
 
}}
 
}}
 +
{{#ifingroup:wsadmin | {{#ask: [[{{#var:Chapter}}]] |format=embedded }} }}
 
<h3 class="hoofdstuk-kop">{{#formredlink:form=Chapter|link text={{{Name chapter|}}}
 
<h3 class="hoofdstuk-kop">{{#formredlink:form=Chapter|link text={{{Name chapter|}}}
 
:<div style="font-size:small">{{Fa|pencil-square-o fa-fw}} Maak dit hoofdstuk aan</div>|existing page link text={{#show: {{#var:Chapter}} |?Display title of}}
 
:<div style="font-size:small">{{Fa|pencil-square-o fa-fw}} Maak dit hoofdstuk aan</div>|existing page link text={{#show: {{#var:Chapter}} |?Display title of}}
 
|link type=link|Chapter[Title]={{{Name chapter|}}}|target={{#var:Chapter}} }}</h3>}}</includeonly>
 
|link type=link|Chapter[Title]={{{Name chapter|}}}|target={{#var:Chapter}} }}</h3>}}</includeonly>

Revision as of 11:21, 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.