Difference between revisions of "Template:Chapter in topic"

From Venlo Samenwerkingswijzer
Line 37: Line 37:
 
{{#if:{{#var:Introductory text}}|<br>}}<!--
 
{{#if:{{#var:Introductory text}}|<br>}}<!--
 
     --->
 
     --->
<strong>{{#ifexist:{{#var:Chapter}}
+
<strong style="margin-left:10px;">{{#ifeq:{{#show: {{#var:Chapter}} |default=no}}|no|
 +
| {{#formlink:form=Chapter |target={{#var:Chapter}} |link text={{Fa|pencil-square-o fa-fw}} Maak dit hoofdstuk aan |link type= |Chapter[Title]={{{Name chapter|}}} }}
 
| [[{{#var:Chapter}} |{{Fa|eye fa-fw}} Lees meer...]]
 
| [[{{#var:Chapter}} |{{Fa|eye fa-fw}} Lees meer...]]
| {{#formlink:form=Chapter |target={{#var:Chapter}} |link text={{Fa|pencil-square-o fa-fw}} Maak hoofdstuk aan |link type= |Chapter[Title]={{{Name chapter|}}} }}
 
 
}}</strong><!----  
 
}}</strong><!----  
 
'''{{#formredlink:form=Chapter|link text=Continue reading |existing page link text=Lees meer... |link type=link|Chapter[Title]={{{Name chapter|}}}|target={{#var:Chapter}} }}'''---->
 
'''{{#formredlink:form=Chapter|link text=Continue reading |existing page link text=Lees meer... |link type=link|Chapter[Title]={{{Name chapter|}}}|target={{#var:Chapter}} }}'''---->

Revision as of 12:22, 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}}
}}

Edit the page to see the template text.