Difference between revisions of "Template:Chapter"
From Venlo Samenwerkingswijzer
(52 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | This is the " | + | This is the "Chapter" template. |
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
− | {{ | + | {{Chapter |
|Title= | |Title= | ||
|Date created= | |Date created= | ||
|Introductory text= | |Introductory text= | ||
|Text chapter= | |Text chapter= | ||
− | |||
− | |||
}} | }} | ||
</pre> | </pre> | ||
Line 17: | Line 15: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
− | |||
− | + | </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="row"> | |
− | + | }}{{#if:{{#var:embedchapter}}||<div class="col-md-9">}} | |
− | + | {{#if:{{#var:embedchapter}}||{{Page title | |
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
|Bread crumb={{BASEPAGENAME}} | |Bread crumb={{BASEPAGENAME}} | ||
− | | | + | |Name={{{Title|{{SUBPAGENAME}} }}} |
− | |Form= | + | |Form=Chapter |
− | }} | + | }} |
− | {{ | + | }}{{#if:{{{Introductory text|}}}|<div class="well">{{{Introductory text|}}}</div>}} |
− | | | + | {{{Text chapter|}}}<!--- |
− | }} | + | ---> |
− | }} <!-- | + | {{#if:{{{Paragraphs|}}} | |
− | {{{ | ||
{{{Paragraphs|}}} | {{{Paragraphs|}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | + | {{#if:{{#var:embedchapter}}||</div>}} | |
+ | {{#if: {{#var:embedchapter}}||<div class="col-md-3"> | ||
+ | {{Chapter navigation}} | ||
</div> | </div> | ||
− | + | </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.