Difference between revisions of "Template:Chapter"

From Venlo Samenwerkingswijzer
 
(22 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
|Introductory text=
 
|Introductory text=
 
|Text chapter=
 
|Text chapter=
|Paragraphs=[Template:...]
 
|Visual=?
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 17: 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|}}}
}}{{Page title
+
}}<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}} }}}
 
|Name={{{Title|{{SUBPAGENAME}} }}}
 
|Form=Chapter
 
|Form=Chapter
}}<div class="container-fluid">
+
}}
<div class="row">
+
}}{{#if:{{{Introductory text|}}}|<div class="well">{{{Introductory text|}}}</div>}}
<div class="col-md-9">
+
{{{Text chapter|}}}<!---
{{Chapter navigation}}
+
--->
{{{Text chapter|}}}
+
{{#if:{{{Paragraphs|}}} |
</div>
+
{{{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 13: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.