Difference between revisions of "Template:Chapter navigation"

From Venlo Samenwerkingswijzer
Line 17: Line 17:
  
 
---><div class="panel panel-default" style="background-color: #f6f6f6; padding: 1.5em;">{{#switch:{{#var:@section is topic}}
 
---><div class="panel panel-default" style="background-color: #f6f6f6; padding: 1.5em;">{{#switch:{{#var:@section is topic}}
|yes=<h4>[[{{#var:@topic}}#{{SUBPAGENAME}}]]</h4>
+
|yes=<h4>[[{{#var:@topic}}]]</h4>
 
|no=<h4>[[{{#var:@topic}}]]</h4>
 
|no=<h4>[[{{#var:@topic}}]]</h4>
 
<h5 style="padding-left: .5em">[[{{#var:@topic}}#{{#var:@section}}|{{#var:@section}}]]</h5>
 
<h5 style="padding-left: .5em">[[{{#var:@topic}}#{{#var:@section}}|{{#var:@section}}]]</h5>

Revision as of 17:36, 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.