Difference between revisions of "Template:Chapter navigation"

From Venlo Samenwerkingswijzer
Line 3: Line 3:
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
{{Chapter navigation
+
{{Chapter navigation}}
}}
 
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
Line 15: Line 14:
 
# Body
 
# Body
  
---><div class="panel panel-default" style="padding: 1.5em;">
+
---><div class="panel panel-default" style="background-color: #f6f6f6; padding: 1.5em;">
<h4>{{#ifeq:{{#var:@section}}|{{BASEPAGENAME}}|[[{{#var:@section}}]] (topic)|[[{{BASEPAGENAME}}#{{#var:@section}}]] (section) }}</h4>
+
<h4>{{#ifeq:{{#var:@section}}|{{BASEPAGENAME}}|[[{{#var:@section}}]]|[[{{BASEPAGENAME}}#{{#var:@section}}]]}}</h4>
 
<div class="row">
 
<div class="row">
 
<div class="col-md-12">
 
<div class="col-md-12">

Revision as of 16:02, 3 November 2016

This is the "Chapter navigation" template. It should be called in the following format:

{{Chapter navigation}}

Edit the page to see the template text.