Template:Navi: Difference between revisions

From railTOPOMODEL® Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
(New template)
 
No edit summary
Line 10: Line 10:
| [[Home]] || [[{{{chapterlink|{{{chapter}}}}}}|{{{Chapter}}}
| [[Home]] || [[{{{chapterlink|{{{chapter}}}}}}|{{{Chapter}}}
|-
|-
|<small>previous:</small>||<small>next:</small>
|<small>previous:</small><br>[[{{{prevlink|{{{prev|}}}}}}|{{{prev|}}}]]||<small>next:</small><br>[[{{{nextlink|{{{next|}}}}}}{{{next|}}}]]
|[[{{{prevlink|{{{prev|}}}}}}|{{{prev|}}}]]||[[{{{nextlink|{{{next|}}}}}}{{{next|}}}]]
|}</includeonly><noinclude>
|}</includeonly><noinclude>
==Usage==
==Usage==

Revision as of 19:55, 8 March 2017

Usage

This template offers a standardized menu for the page foot. It offers a chapter What you have learned and a swift shift to the RailTopoModel® home page, the chapter home page, the previous and the next section.

Arguments

The template has one obligatory and five optional arguments, all of which are named.

  • Obligatory
    • chapter: the chapter, which the page is assigned to
  • Optional
    • lesson: this argument bears the text of the symmary
    • prev: the name of the previous section. Usually it will be identical with the link to the previous section, so the latter can be left away. As there is not allways a previous section, also prev may be empty.
    • next: the name of the previous section. Usually it will be identical with the link to the next section, so the latter can be left away. As there is not allways a next section, also next may be empty.
    • prevlink: an argument for the link to the previous section, if it differs from prev.
    • prevlink: an argument for the link to the next section, if it differs from next.

Examples