Difference between revisions of "Template:Chapter in topic"

From Venlo Samenwerkingswijzer
Line 16: Line 16:
 
</noinclude><includeonly>{{#ifeq: {{#var:Content only|No}} |Yes
 
</noinclude><includeonly>{{#ifeq: {{#var:Content only|No}} |Yes
 
|   
 
|   
| <div class="row">{{#switch: {{{SELECT|}}}
+
|<div class="row">{{#switch: {{{SELECT|}}}
|sectie=<div class="col-md-12"><h2>{{{Section|}}}</h2></div>
+
|sectie=<div class="col-md-12">
 +
<h2>{{{Section|}}}</h2>
 +
</div>
 
|hoofdstuk=<div class="col-md-4">{{#vardefine: Chapter |{{#var:Topic}}/{{Safe title|Title={{{Name chapter|}}} }} }}<!---
 
|hoofdstuk=<div class="col-md-4">{{#vardefine: Chapter |{{#var:Topic}}/{{Safe title|Title={{{Name chapter|}}} }} }}<!---
  
Line 40: Line 42:
  
 
---->
 
---->
</div><div class="col-md-6"></div>
+
</div>
 +
<div class="col-md-6"></div>
 
{{#if:{{#var:Introductory text}}|<br>}}<!--
 
{{#if:{{#var:Introductory text}}|<br>}}<!--
 
     --->
 
     --->
Line 51: Line 54:
 
|Chapter={{#var:Chapter}}
 
|Chapter={{#var:Chapter}}
 
}}</div>
 
}}</div>
}}</div>}}
+
</div>}}}}
 
</includeonly>
 
</includeonly>

Revision as of 14:16, 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}}
|Section=
}}

Edit the page to see the template text.