Template:SubpageNav
Jump to navigation
Jump to search
{{SubpageNav}} ia used at the top and bottom of a translation and spell card page for easier navigation.
Usage
{{SubpageNav|Label|Left navigator|Right navigator}}
Or to be more specific:
{{SubpageNav|Label}}
Note: The Left and Right option can support up to 14 parameters with their labels optional.
Parameters
|Label=
: This is the label you should give to indicate the subpage is under which category such as Story, Spell Cards, etc.|L1=
: Meaning "Left 1", this parameter links to the previous page|L1l=
: Meaning "Left 1 Link Label", this parameter displays an alternative name for the link provided in|L1=
rather than the subpage name. Examples will be given here|R1=
: Meaning "Right 1", this parameter links to the next page|R1l=
: Meaning "Right 1 Link Label", this parameter displays an alternative name for the link provided in|R1=
rather than the subpage name. Examples will be given here|Lx=
,|Lxl=
,|Rx=
,|Rxl=
: "x" being replaced with an incrementing number, the number may go up to 14 for now, but if more parameters is needed, this template will adjust accordingly.
Examples
NB: The coding below is served as a sample of how it will display, the link may not work due to the coding not being placed on proper subpages.
{{SubpageNav|Spell Cards|Shion|Clause}}
→
< | [[../Shion|Shion]] | Spell Cards | [[../Clause|Clause]] | > |
{{SubpageNav|Spell Cards||Clause}}
→
Spell Cards | [[../Clause|Clause]] | > |
{{SubpageNav|Spell Cards|Shion|}}
→
< | [[../Shion|Shion]] | Spell Cards |
Let's say, you are on page "Game/Story/Scenario". The next page will have two different endings, but Ending B has a unique name not in the link. With this information your template should look like:
{{SubpageNav|Story|L1=Prologue|R1=Ending A|R2=Ending B|R2l=Good Ending B}}
Thus will end up looking like this:
< | [[../Prologue|Prologue]] | Story | [[../Ending A|Ending A]] [[../Ending B|Good Ending B]] |
> |
The above documentation is transcluded from Template:SubpageNav/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |