Difference between revisions of "Template:Chapter"
From Venlo Samenwerkingswijzer
(15 intermediate revisions by the same user not shown) | |||
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}}|<div class="row" style="padding-left:10px;">{{#ifingroup:sysop||<h1>{{{Title|}}}</h1>}}|}}<!--- | ||
+ | ---->{{#if:{{#var:embedchapter}}||{{#set: | ||
|Introductory text={{{Introductory text|}}} | |Introductory text={{{Introductory text|}}} | ||
}}<div class="container-fluid"> | }}<div class="container-fluid"> | ||
<div class="row"> | <div class="row"> | ||
− | <div class="col-md-9"> | + | }}{{#if:{{#var:embedchapter}}||<div class="col-md-9">}} |
− | {{Page title | + | {{#if:{{#var:embedchapter}}||{{Page title |
|Bread crumb={{BASEPAGENAME}} | |Bread crumb={{BASEPAGENAME}} | ||
|Name={{{Title|{{SUBPAGENAME}} }}} | |Name={{{Title|{{SUBPAGENAME}} }}} | ||
|Form=Chapter | |Form=Chapter | ||
}} | }} | ||
− | {{#if:{{{Introductory text|}}}|<div class="well | + | }}{{#if:{{{Introductory text|}}}|<div class="well">{{{Introductory text|}}}</div>}} |
− | {{{Text chapter|}}} | + | {{{Text chapter|}}}<!--- |
− | </div> | + | ---> |
− | <div class="col-md-3"> | + | {{#if:{{{Paragraphs|}}} | |
− | {{Chapter navigation}} | + | {{{Paragraphs|}}} |
− | + | }} | |
+ | {{#if:{{#var:embedchapter}}||</div>}} | ||
+ | {{#if: {{#var:embedchapter}}||<div class="col-md-3"> | ||
+ | {{Chapter navigation}} | ||
</div> | </div> | ||
− | [[Category:Chapter]] | + | </div>}}{{#if:{{#var:embedchapter}} |</div>|[[Category:Chapter]] }}</includeonly> |
− | </includeonly> |
Latest revision as of 12:44, 21 September 2017
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.