Difference between revisions of "Template:Chapter"
From Venlo Samenwerkingswijzer
Line 15: | Line 15: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
− | </noinclude><includeonly>{{#set: | + | |
+ | </noinclude><includeonly>{{#if:{{#var:embedchapter}}||{{#set: | ||
|Introductory text={{{Introductory text|}}} | |Introductory text={{{Introductory text|}}} | ||
}}<div class="container-fluid"> | }}<div class="container-fluid"> | ||
Line 24: | Line 25: | ||
|Name={{{Title|{{SUBPAGENAME}} }}} | |Name={{{Title|{{SUBPAGENAME}} }}} | ||
|Form=Chapter | |Form=Chapter | ||
− | }} | + | }}}} |
{{#if:{{{Introductory text|}}}|<div class="well">{{{Introductory text|}}}</div>}} | {{#if:{{{Introductory text|}}}|<div class="well">{{{Introductory text|}}}</div>}} | ||
{{{Text chapter|}}} | {{{Text chapter|}}} | ||
</div> | </div> | ||
<div class="col-md-3"> | <div class="col-md-3"> | ||
− | {{Chapter navigation}} | + | {{#if: {{#var:embedchapter}}||{{Chapter navigation}} }} |
</div> | </div> | ||
</div> | </div> | ||
− | [[Category:Chapter]] | + | {{#if:{{#var:embedchapter}} || [[Category:Chapter]] }} |
</includeonly> | </includeonly> |
Revision as of 09:20, 8 November 2016
This is the "Chapter" template.
It should be called in the following format:
{{Chapter |Title= |Date created= |Introductory text= |Text chapter= }}
Edit the page to see the template text.