Difference between revisions of "Template:Chapter"

From Venlo Samenwerkingswijzer
 
(23 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|}}}
|Item={{PAGENAME}}
+
}}<div class="container-fluid">
|Topic={{BASEPAGENAME}}
+
<div class="row">
|Has parent page={{BASEPAGENAME}}
+
}}{{#if:{{#var:embedchapter}}||<div class="col-md-9">}}
|Superitem={{BASEPAGENAME}}
+
{{#if:{{#var:embedchapter}}||{{Page title
}}{{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|}}}<!---
{{{Text chapter|}}}
+
--->
</div>
+
{{#if:{{{Paragraphs|}}} |
 +
{{{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.