Template:WalkthroughPrevNext/doc
{{WalkthroughPrevNext}} is to be used for navigation on Project Walkthrough pages. It links to pages before and after the current walkthrough page, as well as to the landing page for the walkthrough.
Parameters
- Named parameters
- game: a primary color; if the walkthrough is for a pair of games, this could be the first game
- game2 (optional): a secondary color; if the walkthrough is for a pair of games, this could be the second game
- gamename: The name of the walkthrough; for example, "Pokémon Red and Blue" for Walkthrough:Pokémon Red and Blue
- gamelink (optional): An override for the link of the walkthrough; for example, "Pokémon Trading Card Game (video game)" for Walkthrough:Pokémon Trading Card Game (video game) while gamename would be "Pokémon Trading Card Game"
- prev (optional): if set as "no" (case sensitive), the left half of the template does not link to a previous page
- prevsection: the number of the previous part of the walkthrough (if prevpage is not used); the previous page must be named "Part[prevsection]"
- prevpage (optional): an explicit name for the previous page (the part after "/"); this overrides prevsection
- prevname: a title for the previous section (generally describing what it covers; should also be used on the walkthrough landing page. This will be hidden on screens under 800px)
- next (optional): if set as "no" (case sensitive), the right half of the template does not link to a next page
- nextsection: the number of the next part of the walkthrough (if nextpage is not used); the next page must be named "Part [nextsection]"
- nextpage (optional): an explicit name for the next page (the part after "/"); this overrides nextsection
- nextname: a title for the next section (generally describing what it covers; should also be used on the walkthrough landing page. This will be hidden on screens under 800px)
TemplateData
This template is used on walkthrough pages for navigation.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Game | game | A valid color template name (don't include "color light").
| Line | required |
| Game 2 | game2 | Optional. If there is a second game, a valid color template (don't include "color light").
| Line | suggested |
| Walkthrough name | gamename | The name of the walkthrough (don't include "Walkthrough:")
| Line | required |
| Walkthrough Link | gamelink | The link to the walkthrough page | Line | optional |
| Previous? | prev | Optional. If set to "no", the links to the previous page will be hidden.
| Line | optional |
| Previous Part | prevsection | The number of the previous part of the walkthrough. | Number | suggested |
| Previous Page | prevpage | The exact name of the previous page (after the "/"). This parameter overrides the "Previous Part" parameter. | Line | optional |
| Previous Name | prevname | The title for the previous part of the walkthrough. This should match the title on the walkthrough's index page. Hidden on screens under 800px. | Line | required |
| Next? | next | Optional. If set to "no", the links to the next page will be hidden.
| Line | optional |
| Next Part | nextsection | The number of the next part of the walkthrough. | Number | suggested |
| Next Page | nextpage | The exact name of the next page (after the "/"). This parameter overrides the "Next Part" parameter. | Line | optional |
| Next Name | nextname | The title for the next part of the walkthrough. This should match the title on the walkthrough's index page. Hidden on screens under 800px. | Line | required |
Examples
{{WalkthroughPrevNext
| game = Sun
| game2 = Moon
| gamename = Pokémon Sun and Moon
| prev = no
| nextsection = 2
| nextname = Route 1, Iki Town Festival, Professor Kukui's Lab, Trainers' School
}}
{{WalkthroughPrevNext
| game = Gold
| game2 = Silver
| gamename = Pokémon Gold and Silver
| prevsection = 27
| prevname = Route 22, Route 28
| next = no
}}
{{WalkthroughPrevNext
| game = XD
| gamename = Pokémon XD: Gale of Darkness
| gamelink = Pokémon XD
| prevsection = 1
| prevname = Pokémon HQ Lab, Kaminko's house, Gateon Port, Cipher Lab preparations
| nextsection = 3
| nextname = Poké Spots, Miror B., ONBS HQ and Exol
}}