Template:FootNavi: Difference between revisions
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
Ferri Leberl (talk | contribs) No edit summary |
Ferri Leberl (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! colspan="2" | ! colspan="2"! What you should have learned | ||
|- | |- | ||
|colspan="2" | | colspan="2"|{{{lesson|}}} | ||
|- | |- | ||
! colspan="2"| Navigation | ! colspan="2"| Navigation | ||
|- | |- | ||
| [[Main_Page|Home]] || [[{{{chapterlink|{{{chapter}}}}}}|{{{ | | [[Main_Page|Home]] || [[{{{chapterlink|{{{chapter}}}}}}|{{{chapter}}}]] | ||
|- | |- | ||
|<small>previous:</small><br>[[{{{prevlink|{{{prev|}}}}}}|{{{prev|}}}]]||<small>next:</small><br>[[{{{nextlink|{{{next|}}}}}}|{{{next|}}}]] | |<small>previous:</small><br>{{#if:{{{prev|}}}|[[{{{prevlink|{{{prev|}}}}}}|{{{prev|}}}]]}}||<small>next:</small><br>{{#if:{{{next|}}}|[[{{{nextlink|{{{next|}}}}}}|{{{next|}}}]]}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
==Usage== | ==Usage== |
Revision as of 20:07, 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.