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 4: Line 4:
! colspan="2"| What you should have learned
! colspan="2"| What you should have learned
|-
|-
| colspan="2"|{{{lesson|}}}
| colspan="2"|{{{lesson|Please, enter a summary!}}}
|-
|-
! colspan="2"| Navigation
! colspan="2"| Navigation
Line 15: Line 15:
This template offers a standardized menu for the page foot. It offers a chapter ''What you have learned'' and a swift shift to the {{rtm}} home page, the chapter home page, the previous and the next section.
This template offers a standardized menu for the page foot. It offers a chapter ''What you have learned'' and a swift shift to the {{rtm}} home page, the chapter home page, the previous and the next section.
===Arguments===
===Arguments===
The template has one obligatory and five optional arguments, all of which are named.
The template has two obligatory and four optional arguments, all of which are named.
*Obligatory
*Obligatory
**chapter: the chapter, which the page is assigned to
**chapter: the chapter, which the page is assigned to
**lesson: this argument bears the text of the symmary
*Optional
*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.
**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.
**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.

Revision as of 20:13, 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 two obligatory and four optional arguments, all of which are named.

  • Obligatory
    • chapter: the chapter, which the page is assigned to
    • lesson: this argument bears the text of the symmary
  • Optional
    • 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