Difference between revisions of "Template:Sprites"
Jump to navigation
Jump to search
(cat) |
(allowing pokemonname as input) |
||
(2 intermediate revisions by the same user not shown) | |||
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:// | + | |<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></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 |