Difference between revisions of "Template:Sprites"
Jump to navigation
Jump to search
(basic sprites template for pokémon) |
(allowing pokemonname as input) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{|class="wikitable"style="width: | + | <includeonly>{|class="wikitable"style="width:100%;height:96px;color:#f8f8ff;text-align:center;background-color:#4c4c4c;" |
− | | Normal | + | |style="width:16%"|Normal |
− | | Shiny | + | |style="width:16%"|Shiny |
− | | Midnight | + | |style="width:17%"|Midnight |
− | | Snow | + | |style="width:17%"|Snow |
− | | Golden | + | |style="width:17%"|Golden |
− | | Dyna | + | |style="width:17%"|Dyna |
− | |- style="background-color:#e5e5e5" | + | |- style="background-color:#e5e5e5;color:#4c4c4c" |
− | |http:// | + | |<img src= "http://{{GameURL}}/images/pokemon/Normal/{{#if:{{{num|}}}|{{{num|0}}}|{{Converter/NameNum|{{{pokname|{{PAGENAME}}}}}}}}}.png" alt="No Normal form available">||<img src = "http://{{GameURL}}/images/pokemon/Shiny/{{#if:{{{num|}}}|{{{num|0}}}|{{Converter/NameNum|{{{pokname|{{PAGENAME}}}}}}}}}.png" alt="No Shiny form available">||<img src = "http://{{GameURL}}/images/pokemon/Midnight/{{#if:{{{num|}}}|{{{num|0}}}|{{Converter/NameNum|{{{pokname|{{PAGENAME}}}}}}}}}.png" alt="No Midnight form available">||<img src = "http://{{GameURL}}/images/pokemon/Snow/{{#if:{{{num|}}}|{{{num|0}}}|{{Converter/NameNum|{{{pokname|{{PAGENAME}}}}}}}}}.png" alt="No Snow form available">||<img src = "http://{{GameURL}}/images/pokemon/Golden/{{#if:{{{num|}}}|{{{num|0}}}|{{Converter/NameNum|{{{pokname|{{PAGENAME}}}}}}}}}.png" alt="No Golden form available">||<img src = "http://{{GameURL}}/images/pokemon/Dyna/{{#if:{{{num|}}}|{{{num|0}}}|{{Converter/NameNum|{{{pokname|{{PAGENAME}}}}}}}}}.png" alt="No Dyna form available"> |
− | |}</includeonly> | + | |} |
+ | [[Category:Pokémon]] | ||
+ | </includeonly> | ||
<noinclude><pre>{{Sprites | <noinclude><pre>{{Sprites | ||
− | |num= (Pokegen dex number. Default: 0) | + | |num= (Pokegen dex number. Default: 0, prioritized over pokname) |
+ | |pokname=(name of the normal variant pokémon. can be used instead of num to obtain the sprites) | ||
}} | }} | ||
− | </pre></noinclude> | + | </pre> |
+ | Example: | ||
+ | |||
+ | {{Sprites | ||
+ | |pokname=Bulbasaur | ||
+ | }} | ||
+ | </noinclude> |
Latest revision as of 13:13, 21 June 2024
{{Sprites |num= (Pokegen dex number. Default: 0, prioritized over pokname) |pokname=(name of the normal variant pokémon. can be used instead of num to obtain the sprites) }}
Example:
Normal | Shiny | Midnight | Snow | Golden | Dyna |