Difference between revisions of "Template:Chapter in topic"

From Venlo Samenwerkingswijzer
Line 8: Line 8:
 
|Topic={{#var:Topic}}
 
|Topic={{#var:Topic}}
 
|Ordernumber until now={{#var:Ordernumber}}
 
|Ordernumber until now={{#var:Ordernumber}}
 +
|Section=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 +
 +
 
</noinclude><includeonly>{{#ifeq: {{#var:Content only|No}} |Yes
 
</noinclude><includeonly>{{#ifeq: {{#var:Content only|No}} |Yes
 
|   
 
|   
| {{#vardefine: Chapter |{{#var:Topic}}/{{Safe title|Title={{{Name chapter|}}} }} }}<!---
+
| {{#switch: {{{SELECT|}}}
 +
|section=<h2>{{{Section|}}}</h2>
 +
|chapter={{#vardefine: Chapter |{{#var:Topic}}/{{Safe title|Title={{{Name chapter|}}} }} }}<!---
  
 
--->{{#set:  
 
--->{{#set:  
Line 44: Line 49:
 
{{Show paragraphs at chapter
 
{{Show paragraphs at chapter
 
|Chapter={{#var:Chapter}}
 
|Chapter={{#var:Chapter}}
}} }}
+
}} }}}}
 
</includeonly>
 
</includeonly>

Revision as of 13: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.