Difference between revisions of "Template:Sprites"
Jump to navigation
Jump to search
m (Protected "Template:Sprites": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]) |
(allowing pokemonname as input) |
||
Line 7: | Line 7: | ||
|style="width:17%"|Dyna | |style="width:17%"|Dyna | ||
|- style="background-color:#e5e5e5;color:#4c4c4c" | |- style="background-color:#e5e5e5;color:#4c4c4c" | ||
− | |<img src= "http://{{GameURL}}/images/pokemon/Normal/{{{num|0}}}.png" alt="No Normal form available">||<img src = "http://{{GameURL}}/images/pokemon/Shiny/{{{num|0}}}.png" alt="No Shiny form available">||<img src = "http://{{GameURL}}/images/pokemon/Midnight/{{{num|0}}}.png" alt="No Midnight form available">||<img src = "http://{{GameURL}}/images/pokemon/Snow/{{{num|0}}}.png" alt="No Snow form available">||<img src = "http://{{GameURL}}/images/pokemon/Golden/{{{num|0}}}.png" alt="No Golden form available">||<img src = "http://{{GameURL}}/images/pokemon/Dyna/{{{num|0}}}.png" alt="No Dyna form available"> | + | |<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"> |
|} | |} | ||
[[Category:Pokémon]] | [[Category:Pokémon]] | ||
</includeonly> | </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> | </pre> | ||
Line 18: | Line 19: | ||
{{Sprites | {{Sprites | ||
− | | | + | |pokname=Bulbasaur |
− | }}</noinclude> | + | }} |
+ | </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 |