- Welcome to Touhou Wiki!
- Registering is temporarily disabled. Check in our Discord server to request an account and for assistance of any kind.
Template:SubpageNav
Jump to navigation
Jump to search
{{{1}}} |
Used at the top and bottom of translation and spell card pages for easier navigation. Label refers to the middle part, which should be either Spell Cards or Translation. Either PreviousPage or NextPage can be left out.
Usage
{{SubpageNav|Label|Left navigator|Right navigator}}
OR
{{SubpageNav|Label|L1=1st Left navigator|L1l=1st Left navigator's label (Optional)|L2=2nd Left navigator (Optional)|L2l=2nd Left navigator's label (Optional)|R1=Right navigator|R1l=1st Right navigator's label (Optional)|R2=2nd Right navigator (Optional)}}
- 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.
- Left navigator
- The previous page's link
- Right navigator
- The next page's link
- L1
- This parameter should stand for "Left 1", and is used to link to the previous page.
- L1l
- This parameter should stand for "Left 1 Link Label", and is for the previous page's link displayed in custom word instead of using the subpage as the name. Examples will be given here
- R1
- This parameter should stand for "Right 1", and is used to link to the next page.
- R1l
- This parameter should stand for "Right 1 Link Label", and is for the next page's link displayed in custom word instead of using the subpage as the name. Examples will be given here
- L2
- L2l
- R2
- R2l
etc. The number may go up to six for now, but if when needed more this template will adjust accordingly.
Samples
* The coding below is served as a sample of how it will display, the link may not working due to the coding is not placed in proper subpage.
{{SubpageNav|Spell Cards|Stage 1|Stage 3}}
will result as below:
< | [[../Stage 1|Stage 1]] | Spell Cards | [[../Stage 3|Stage 3]] | > |
{{SubpageNav|Spell Cards||Stage 2}}
will result as below:
Spell Cards | [[../Stage 2|Stage 2]] | > |
{{SubpageNav|Spell Cards|Stage 6}}
will result as below:
< | [[../Stage 6|Stage 6]] | Spell Cards |
- Example one
- Let's say, you are on page "Game/Spell Cards/Stage 3". The next page will have two different stages with two different spell card appearing. With this information your template should look like:
{{SubpageNav|Spell Card|L1=Stage 2|R1=Stage 4A|R2=Stage 4B}}
Thus will end up looking like this:
< | [[../Stage 2|Stage 2]] | Spell Card | [[../Stage 4A|Stage 4A]] [[../Stage 4B|Stage 4B]] |
> |
- Example two
- You want to link to a certain Music Column of Bohemian Archive in Japanese Red, but also to the next "Article and Interview" page.
{{SubpageNav|[[Bohemian Archive in Japanese Red]]|L1=Rumia|L1l=Article and Interview: Rumia|R1=Three Fairies|R1l=Article and Interview: Three Fairies|R2=Music Columns#Septette for the Dead Princess|R2l=Music Column: Septette for the Dead Princess}}
Thus will end up looking like this:
< | [[../Rumia|Article and Interview: Rumia]] | Bohemian Archive in Japanese Red | [[../Three Fairies|Article and Interview: Three Fairies]] [[../Music Columns#Septette for the Dead Princess|Music Column: Septette for the Dead Princess]] |
> |