Template:EpicodePrevNext

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search



Template documentation
Note: portions of the template sample may not be visible without values provided.

{{EpicodePrevNext}} is to be used for navigating between episode pages in sequence.

Usage

{{EpicodePrevNext
|colorscheme=
|prevcode=
|prevtitle=
|nextcode=
|nexttitle=
|series=
|episodelist=
}}

Template fields

  • colorscheme - Name of a color scheme (not a color hex code) to be used. This will be passed to {{Colorschemedark}} and {{Colorschemelight}}. If no value is provided, it defaults to "bulba".
  • prevcode - The epicode of the previous episode. If there is no previous episode, put "None". This field must not be left blank, or the template will break!
    • prevtitle - The title of the previous episode. If the title is not known, this can be left blank.
  • nextcode - The epicode of the next episode. If there is no next episode, put "None". This field must not be left blank, or the template will break!
    • nextitle - The title of the next episode. If the title is not known, this can be left blank.
  • series - The series that this episode is part of. This will create a link to "List of <series> episodes". Certain names are available as pre-sets, but the field will work for any value.
    • "AG", "Advanced Generation", or "Advanced Generation series" will map to "Advanced Generation series".
    • "DP", "Diamond & Pearl", or "Diamond & Pearl series" will map to "Diamond & Pearl series".
    • "BW", "Best Wishes", or "Best Wishes series" will map to "Best Wishes series".
    • "XY" or "XY series" will map to "XY series".
  • episodelist (optional) - Link override for the series field.

TemplateData

This template is to be used for navigating between episode pages in sequence.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Color schemecolorscheme

Name of a color scheme (not a color hex code) to be used

Linesuggested
Previous Codeprevcode

Epicode of the previous episode. If there is no previous episode, put "None" (case-sensitive)

Linerequired
Previous Titleprevtitle

Title of the previous episode

Linesuggested
Next Codenextcode

Epicode of the next episode. If there is no next episode, put "None" (case-sensitive)

Linerequired
Next titlenexttitle

Title of the next episode

Linesuggested
Series Nameseries

Series that this episode is part of

Linerequired
Episode List Linkepisodelist

Link override for the episode list page

Linesuggested

Examples

Standard use

{{EpicodePrevNext
|prevcode=BW004
|prevtitle=The Battle Club and Tepig's Choice!
|nextcode=BW006
|nexttitle=Dreams by the Yard Full!
|series=Pokémon the Series: Black & White
|colorscheme=Unova}}
BW004 : The Battle Club and Tepig's Choice!
Pokémon the Series: Black & White
BW006 : Dreams by the Yard Full!

No previous

{{EpicodePrevNext
|prevcode=None
|prevtitle=None
|nextcode=PPW02
|nexttitle=
|series=Pokémon: Paldean Winds
|colorscheme=Paldea}}
Pokémon: Paldean Winds
PPW02

No next

{{EpicodePrevNext
|prevcode=PTP03
|prevtitle=Internationals
|nextcode=None
<!--|nexttitle=-->
|series=Pokémon: Path to the Peak
|colorscheme=bulba}}
PTP03 : Internationals
Pokémon: Path to the Peak


Custom List page

{{EpicodePrevNext
|colorscheme=Hoso
|prevcode=HS02
|prevtitle=Cerulean Blues
|nextcode=HS04
|nexttitle=Showdown at the Oak Corral
|series=Pokémon Chronicles
|episodelist=List of side story episodes
}}
HS02 : Cerulean Blues
Pokémon Chronicles
HS04 : Showdown at the Oak Corral