Difference between revisions of "Template:PokédexNavTable"
From Pokemon World Online Wiki
(A template to include a numerical Pokédex navigation on top of each Pokémon page.) |
m (Example text included.) |
||
| Line 1: | Line 1: | ||
| − | + | <includeonly><table style="border: 3px #{{{{{Type|???}}}_color_dark}} solid; margin-top: 5px; width: 60%; border-radius: 15px 15px 15px 15px; background: #{{{{{Type|???}}}_color}};" align="center" cellpadding="2" cellspacing="3"> | |
| − | <table style="border: 3px #{{{{{Type| | + | |
<tr><td> | <tr><td> | ||
| − | <table style="background: {{{{{Type| | + | <table style="background: {{{{{Type|???}}}_color_light}}; width: 100%; border-radius: 15px 15px 15px 15px;" cellpadding="2" cellspacing="3"> |
<tr><td style="text-align: left;">[[File:{{{PreDex|001}}}small.png|{{{Pre|Bulbasaur}}}'s sprite]] [[{{{Prev|Bulbasaur}}}|#{{{PreDex|001}}} {{{Prev|Bulbasaur}}}]]</td><td style="text-align: right;">[[{{{Post|Venusaur}}}|#{{{PostDex|003}}} {{{Post|Venusaur}}}]] [[File:{{{PostDex|003}}}small.png|{{{Post|Venusaur}}}'s sprite]]</td></tr> | <tr><td style="text-align: left;">[[File:{{{PreDex|001}}}small.png|{{{Pre|Bulbasaur}}}'s sprite]] [[{{{Prev|Bulbasaur}}}|#{{{PreDex|001}}} {{{Prev|Bulbasaur}}}]]</td><td style="text-align: right;">[[{{{Post|Venusaur}}}|#{{{PostDex|003}}} {{{Post|Venusaur}}}]] [[File:{{{PostDex|003}}}small.png|{{{Post|Venusaur}}}'s sprite]]</td></tr> | ||
</table> | </table> | ||
</td></tr> | </td></tr> | ||
| − | </table> | + | </table></includeonly> |
| − | + | <noinclude>==Template Example== | |
| − | <noinclude> | + | {{PokédexNavTable|Prev=Bulbasaur|PreDex=001|Post=Venusaur|PostDex=003|Type=Grass}} |
| + | '''''Example Syntax:''''' | ||
| + | <nowiki>{{PokédexNavTable|Prev=Bulbasaur|PreDex=001|Post=Venusaur|PostDex=003|Type=Grass}}</nowiki> | ||
==Parameters in Use== | ==Parameters in Use== | ||
The following are the parameters in use within this template: | The following are the parameters in use within this template: | ||
| Line 16: | Line 17: | ||
* '''''PostDex''''' - The next number in the Pokédex. (''Include 3 digits'') | * '''''PostDex''''' - The next number in the Pokédex. (''Include 3 digits'') | ||
* '''''Type''''' - The primary type of the Pokémon. | * '''''Type''''' - The primary type of the Pokémon. | ||
| − | + | [[Category:PokémonPageTemplates]]</noinclude> | |
| − | [[Category:PokémonPageTemplates]] | + | |
| − | </noinclude> | + | |
Revision as of 05:39, 1 January 2012
Template Example
|
Example Syntax: {{PokédexNavTable|Prev=Bulbasaur|PreDex=001|Post=Venusaur|PostDex=003|Type=Grass}}
Parameters in Use
The following are the parameters in use within this template:
- Prev - The previous Pokémon in the Pokédex. (Make this cyclic)
- PreDex - The previous number in the Pokédex. (Include 3 digits)
- Post - The next Pokémon in the Pokédex. (Make this cyclic)
- PostDex - The next number in the Pokédex. (Include 3 digits)
- Type - The primary type of the Pokémon.