Template:PokémonPrevNext/Pokémon: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (Protected "Template:PokémonPrevNext/Pokémon" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(adding docs, and changing default behavior to display a blank instead of question marks) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly>|- | ||
| style="width:45%; background: #{{{{{type|???}}} color light}}; {{#ifeq: {{{round|{{{roundleft|}}}}}}|none||{{roundy{{{roundleft|left}}}|15px}}}}" | | | style="width:45%; background: #{{{{{type|???}}} color light}}; {{#ifeq: {{{round|{{{roundleft|}}}}}}|none||{{roundy{{{roundleft|left}}}|15px}}}}" | | ||
{| style="width:100%; background: #{{{{{type|???}}} color light}}; {{roundyleft|15px}}" | {{#if:{{{prev|}}}| | ||
{{{!}} style="width:100%; background: #{{{{{type|???}}} color light}}; {{roundyleft|15px}}" | |||
{{!}} style="text-align: right" {{!}} [[{{{prev|???}}} (Pokémon)|{{color|000|←}}]] | |||
{{!}} style="text-align: center" {{!}} [[File:{{{prevnum|???}}}MS.png|40px|link={{{prev|Missingno.}}} (Pokémon)]] | |||
{{!}} style="text-align: right" {{!}} [[{{{prev|???}}} (Pokémon)|{{color|000|<nowiki>#</nowiki>{{{prevnum|???}}}: {{{prev|???}}}}}]] | |||
{{!}}} | |||
}} | |||
| style="background: #{{{{{type|???}}} color light}};" | | | style="background: #{{{{{type|???}}} color light}};" | | ||
{| style="background: #{{{{{type|???}}} color light}}; width:100%;" | {| style="background: #{{{{{type|???}}} color light}}; width:100%;" | ||
Line 12: | Line 13: | ||
|} | |} | ||
| style="width:45%; background: #{{{{{type|???}}} color light}}; {{#ifeq: {{{round|{{{roundright|}}}}}}|none||{{roundy{{{roundright|right}}}|15px}}}}" | | | style="width:45%; background: #{{{{{type|???}}} color light}}; {{#ifeq: {{{round|{{{roundright|}}}}}}|none||{{roundy{{{roundright|right}}}|15px}}}}" | | ||
{| style="width:100%; background: #{{{{{type|???}}} color light}}; {{roundyright|15px}}" | {{#if:{{{next|}}}| | ||
{{{!}} style="width:100%; background: #{{{{{type|???}}} color light}}; {{roundyright|15px}}" | |||
{{!}} style="text-align: left" {{!}} [[{{{next|???}}} (Pokémon)|{{color|000|<nowiki>#</nowiki>{{{nextnum|???}}}: {{{next|???}}}}}]] | |||
{{!}} style="text-align: center" {{!}} [[File:{{{nextnum|???}}}MS.png|40px|link={{{next|Missingno.}}} (Pokémon)]] | |||
{{!}} style="text-align: left" {{!}} [[{{{next|???}}} (Pokémon)|{{color|000|→}}]] | |||
{{!}}} | |||
}} | |||
</includeonly><noinclude> | |||
{{documentation}} | |||
[[Category:PrevNext templates]] | |||
</noinclude> |
Latest revision as of 01:11, 10 January 2024
Template documentation
View or edit this documentation. (About template documentation)
Note: portions of the template sample may not be visible without values provided.
This template is to be used to provide navigation between Pokémon species pages.
Template fields
- type - The type of the current Pokémon. This is used for determining the color to use.
- round (optional) - set to "none" to disable rounding of the left and right sides.
- prev - The name of the previous Pokémon.
- prevnum - The national dex number of the previous Pokémon.
- next - The name of the next Pokémon.
- nextnum - The national dex number of the next Pokémon.
Examples
Standard use
{{PokémonPrevNext/Head|type=Electric}} {{PokémonPrevNext/GO|species=Pikachu}} {{PokémonPrevNext/Pokémon|type=Electric|prevnum=0024|prev=Arbok|nextnum=0026|next=Raichu|round=none}} {{PokémonPrevNext/Disambig|species=Pikachu}} |}
For Pokémon GO information on this species, see the game's section. | |||||||||
|
|
| |||||||
This article is about the species. For a specific instance of this species, see Pikachu (disambiguation). |
No previous
{{PokémonPrevNext/Head|type=Grass|type2=Poison}} {{PokémonPrevNext/GO|species=Bulbasaur}} {{PokémonPrevNext/Pokémon|type=Grass|nextnum=0002|next=Ivysaur|round=none}} {{PokémonPrevNext/Disambig|species=Bulbasaur}} |}
For Pokémon GO information on this species, see the game's section. | ||||||
|
| |||||
This article is about the species. For a specific instance of this species, see Bulbasaur (disambiguation). |
No next
{{PokémonPrevNext/Head|type=Normal}} {{PokémonPrevNext/GO|species=Terapagos}} {{PokémonPrevNext/Pokémon|type=Normal|prevnum=1023|prev=Iron Crown|round=none}} {{PokémonPrevNext/Disambig|species=Terapagos}} |}
For Pokémon GO information on this species, see the game's section. | ||||||
|
|
| ||||
This article is about the species. For a specific instance of this species, see Terapagos (disambiguation). |