Difference between revisions of "Template:PokédexNavTable"
From Pokemon World Online Wiki
m (I'd much prefer align not being changed to text-align in tables for some reason.) |
m (Image direct.) |
||
| Line 2: | Line 2: | ||
<tr><td> | <tr><td> | ||
<table style="background: #{{{{{Type|???}}}_color_light}}; width: 100%; border-radius: 15px 15px 15px 15px;" cellpadding="2" cellspacing="3"> | <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|{{{Prev|Prev}}}'s sprite]] [[{{{Prev|Prev}}}|#{{{PreDex|001}}} {{{Prev|Prev}}}]]</td><td style="text-align: right;">[[{{{Post|Post}}}|#{{{PostDex|003}}} {{{Post|Post}}}]] [[File:{{{PostDex|003}}}small.png|{{{Post|Post}}}'s sprite]]</td></tr> | + | <tr><td style="text-align: left;">[[File:{{{PreDex|001}}}small.png|{{{Prev|Prev}}}'s sprite|link={{{Prev|Prev}}}]] [[{{{Prev|Prev}}}|#{{{PreDex|001}}} {{{Prev|Prev}}}]]</td><td style="text-align: right;">[[{{{Post|Post}}}|#{{{PostDex|003}}} {{{Post|Post}}}]] [[File:{{{PostDex|003}}}small.png|{{{Post|Post}}}'s sprite|link={{{Post|Post}}}]]</td></tr> |
</table> | </table> | ||
</td></tr> | </td></tr> | ||
Latest revision as of 23:34, 8 August 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.