Difference between revisions of "Template:Chapter in topic"

From Venlo Samenwerkingswijzer
(simplify chapter)
Line 37: Line 37:
 
{{#if:{{#var:Introductory text}}|<br>}}<!--
 
{{#if:{{#var:Introductory text}}|<br>}}<!--
 
     --->
 
     --->
<strong style="margin-left:10px;">{{#ifeq:{{#ask:[[{{#var:Chapter}}]]|default=NO}}|NO|<!---
+
<strong style="margin-left:10px;">{{#ifeq:{{#ask:[[{{#var:Chapter}}]]|mainlabel=-|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|}}} }}
 
---->{{#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...]]

Revision as of 12:32, 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.