Difference between revisions of "Template:PokéTable"
From Pokemon World Online Wiki
(Added ability cells) |
(Added syntax information, amended colours and added second ability) |
||
Line 14: | Line 14: | ||
<tr><td style="border: 3px #{{{{{Type1|???}}}_color_dark}} solid; background: #{{{{{Type1|???}}}_color_light}}; border-radius: 15px;" colspan="3">Exp to Lvl. 100<br /><span style="color: #{{{{{Type1|???}}}_color_dark}}; background: #FFFFFF; border-radius: 15px; border: 3px #{{{{{Type1|???}}}_color_dark}} solid;"> {{#expr:floor(((2*105/(105-99))^4+ 99^3)*({{{BaseXP|255}}}/20))}} </span></td><td style="border: 3px #{{{{{Type1|???}}}_color_dark}} solid; background: #{{{{{Type1|???}}}_color_light}}; border-radius: 15px;" colspan="3">[[Base Experience]]<br /><span style="color: #{{{{{Type1|???}}}_color_dark}}; background: #FFFFFF; border-radius: 15px; border: 3px #{{{{{Type1|???}}}_color_dark}} solid;"> {{{BaseXP|255}}} </td></tr> | <tr><td style="border: 3px #{{{{{Type1|???}}}_color_dark}} solid; background: #{{{{{Type1|???}}}_color_light}}; border-radius: 15px;" colspan="3">Exp to Lvl. 100<br /><span style="color: #{{{{{Type1|???}}}_color_dark}}; background: #FFFFFF; border-radius: 15px; border: 3px #{{{{{Type1|???}}}_color_dark}} solid;"> {{#expr:floor(((2*105/(105-99))^4+ 99^3)*({{{BaseXP|255}}}/20))}} </span></td><td style="border: 3px #{{{{{Type1|???}}}_color_dark}} solid; background: #{{{{{Type1|???}}}_color_light}}; border-radius: 15px;" colspan="3">[[Base Experience]]<br /><span style="color: #{{{{{Type1|???}}}_color_dark}}; background: #FFFFFF; border-radius: 15px; border: 3px #{{{{{Type1|???}}}_color_dark}} solid;"> {{{BaseXP|255}}} </td></tr> | ||
<tr><td style="border: 3px #{{{{{Type1|???}}}_color_dark}} solid; background: #{{{{{Type1|???}}}_color_light}}; border-radius: 15px;" colspan="3">Rarity<br /><span style="color: #{{{{{Type1|???}}}_color_dark}}; background: #FFFFFF; border-radius: 15px; border: 3px #{{{{{Type1|???}}}_color_dark}} solid;"> [[:Category:{{{Rarity|Uncatchable}}}|{{{Rarity|Uncatchable}}}]] </span></td><td style="border: 3px #{{{{{Type1|???}}}_color_dark}} solid; background: #{{{{{Type1|???}}}_color_light}}; border-radius: 15px;">Height<br /><span style="color: #{{{{{Type1|???}}}_color_dark}}; background: #FFFFFF; border-radius: 15px; border: 3px #{{{{{Type1|???}}}_color_dark}} solid;"> {{{Height|0}}}m </span></td><td style="border: 3px #{{{{{Type1|???}}}_color_dark}} solid; background: #{{{{{Type1|???}}}_color_light}}; border-radius: 15px;">Weight<br /><span style="color: #{{{{{Type1|???}}}_color_dark}}; background: #FFFFFF; border-radius: 15px; border: 3px #{{{{{Type1|???}}}_color_dark}} solid;"> {{{Weight|0}}}kg </span></td></tr> | <tr><td style="border: 3px #{{{{{Type1|???}}}_color_dark}} solid; background: #{{{{{Type1|???}}}_color_light}}; border-radius: 15px;" colspan="3">Rarity<br /><span style="color: #{{{{{Type1|???}}}_color_dark}}; background: #FFFFFF; border-radius: 15px; border: 3px #{{{{{Type1|???}}}_color_dark}} solid;"> [[:Category:{{{Rarity|Uncatchable}}}|{{{Rarity|Uncatchable}}}]] </span></td><td style="border: 3px #{{{{{Type1|???}}}_color_dark}} solid; background: #{{{{{Type1|???}}}_color_light}}; border-radius: 15px;">Height<br /><span style="color: #{{{{{Type1|???}}}_color_dark}}; background: #FFFFFF; border-radius: 15px; border: 3px #{{{{{Type1|???}}}_color_dark}} solid;"> {{{Height|0}}}m </span></td><td style="border: 3px #{{{{{Type1|???}}}_color_dark}} solid; background: #{{{{{Type1|???}}}_color_light}}; border-radius: 15px;">Weight<br /><span style="color: #{{{{{Type1|???}}}_color_dark}}; background: #FFFFFF; border-radius: 15px; border: 3px #{{{{{Type1|???}}}_color_dark}} solid;"> {{{Weight|0}}}kg </span></td></tr> | ||
− | <tr><td colspan="6"><table style="border: 3px #{{{{{Type1|???}}}_color_dark}} solid; background: #{{{{{Type1|???}}}_color_light}}; border-radius: 15px; text-align: center;" width="100%"><tr><td colspan=" | + | <tr><td colspan="6"><table style="border: 3px #{{{{{Type1|???}}}_color_dark}} solid; background: #{{{{{Type1|???}}}_color_light}}; border-radius: 15px; text-align: center;" width="100%"><tr><td colspan="3">Abilities</td></tr> |
− | <tr><td style="border: 3px #{{{{{Type1|???}}}_color_dark}} solid; background: # | + | <tr><td style="border: 3px #{{{{{Type1|???}}}_color_dark}} solid; background: #FFFFFF; border-radius: 15px 15px 15px 15px;">{{{Ability|---}}}<br><span style="font-size: 10px">First</span></td><td style="border: 3px #{{{{{Type1|???}}}_color_dark}} solid; background: #FFFFFF; border-radius: 15px 15px 15px 15px;">{{{Ability|---}}}<br><span style="font-size: 10px">Second</span></td><td style="border: 3px #{{{{{Type1|???}}}_color_dark}} solid; background: #FFFFFF; border-radius: 15px 15px 15px 15px;">{{{HiddenAbility|---}}}<br><span style="font-size: 10px">Hidden</span></td></tr></table> |
</td></tr> | </td></tr> | ||
</table></includeonly> | </table></includeonly> | ||
Line 21: | Line 21: | ||
<noinclude>'''Example syntax:''' | <noinclude>'''Example syntax:''' | ||
− | <nowiki>{{PokéTable|Dex=001|Gen=I|Type1=Grass|Type2=Poison|Pre=|PreD=|PreM=|Post=Ivysaur|PostD=002 |PostM=Level to 16|BHP=45|BAtt=49|BDef=49|BSpA=65|BSpDef=65|BSpeed=45|Catch=45 |Male=87.5|Height=0.7|Weight=6.9|Rarity=Uncatchable|BaseXP=64}}</nowiki> | + | <nowiki>{{PokéTable|Dex=001|Gen=I|Type1=Grass|Type2=Poison|Pre=|PreD=|PreM=|Post=Ivysaur|PostD=002 |PostM=Level to 16|BHP=45|BAtt=49|BDef=49|BSpA=65|BSpDef=65|BSpeed=45|Catch=45 |Male=87.5|Height=0.7|Weight=6.9|Rarity=Uncatchable|BaseXP=64|Ability1=Overgrow|HiddenAbility=Chlorophyll}}</nowiki> |
==List of Parameters in Use== | ==List of Parameters in Use== | ||
Line 46: | Line 46: | ||
*'''''Rarity''''' - The rarity of the Pokémon | *'''''Rarity''''' - The rarity of the Pokémon | ||
*'''''BaseXP''''' - The base experience of the Pokémon | *'''''BaseXP''''' - The base experience of the Pokémon | ||
+ | *'''''Ability1''''' - The first ability of the Pokemon (''Leave blank to display '---''') | ||
+ | *'''''Ability2''''' - The second ability of the Pokemon (''Leave blank to display '---''') | ||
+ | *'''''HiddenAbility''''' - The hidden ability of the Pokemon (''Leave blank to display '---''') | ||
==Notes== | ==Notes== |
Revision as of 19:19, 9 December 2018
Example syntax:
{{PokéTable|Dex=001|Gen=I|Type1=Grass|Type2=Poison|Pre=|PreD=|PreM=|Post=Ivysaur|PostD=002 |PostM=Level to 16|BHP=45|BAtt=49|BDef=49|BSpA=65|BSpDef=65|BSpeed=45|Catch=45 |Male=87.5|Height=0.7|Weight=6.9|Rarity=Uncatchable|BaseXP=64|Ability1=Overgrow|HiddenAbility=Chlorophyll}}
List of Parameters in Use
- Dex - The national dex number of the Pokémon (Do not include the hash symbol)
- Gen - The first generation the Pokémon was seen in
- Type1 - The primary type of the Pokémon
- Type2 - The secondary type of the Pokémon (Leave blank if the Pokémon only has one type)
- Pre - The previous form of the Pokémon (Leave blank if there are no previous forms)
- PreD - The national dex number of the previous form (Leave blank if there are no previous forms)
- PreM - The method to evolve from the previous form (Leave blank if there are no previous forms)
- Post - The next evolution of the Pokémon (Leave blank if there are no further evolutions)
- PostD - The national dex number of the next evolution (Leave blank if there are no further evolutions)
- PostM - The method to achieve the evolution (Leave blank if there are no further evolutions)
- Height - The height of the Pokémon
- Weight - The weight of the Pokémon
- BHP - The base HP of the Pokémon
- BAtt - The base Attack of the Pokémon
- BDef - The base Defense of the Pokémon
- BSpA - The base Special Attack of the Pokémon
- BSpDef - The base Special Defense of the Pokémon
- BSpeed - The base Speed of the Pokémon
- Catch - The catch rate of the Pokémon
- Male - The rate of appearance of the male gender of the Pokémon (Type 0 if all females, leave blank if genderless.)
- Rarity - The rarity of the Pokémon
- BaseXP - The base experience of the Pokémon
- Ability1 - The first ability of the Pokemon (Leave blank to display '---')
- Ability2 - The second ability of the Pokemon (Leave blank to display '---')
- HiddenAbility - The hidden ability of the Pokemon (Leave blank to display '---')
Notes
Using this template will include the following categories: Pokémon, Generation, Type1, Type2, Rarity