Template:Navi: Difference between revisions

From railTOPOMODEL® Wiki
Jump to navigation Jump to search
[checked revision][checked revision]
No edit summary
No edit summary
Line 2: Line 2:
{| class="wikitable"
{| class="wikitable"
|-
|-
! colspan="2"| What you should have learned
! colspan="2"!! What you should have learned
|-
|-
|{{{lesson|}}}
|colspan="2"||{{{lesson|}}}
|-
|-
! colspan="2"| Navigation
! colspan="2"| Navigation

Revision as of 19:59, 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