Template:PkmnSprite: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
Example: | Example: | ||
{{pkmnSprite|Pixelmon-pokemon-025_pikachu-all-base-none-sprite.png|Pikachu|48}} | {{pkmnSprite|Pixelmon-pokemon-025_pikachu-all-base-none-sprite.png|Pikachu|48}} | ||
</noinclude> | </noinclude> | ||
<!-- ========================================================= --> | <!-- ========================================================= --> | ||
[[File:{{{1}}}|{{{3|32}}}px|class=pixelated|link={{{2|{{#titleparts:{{{1}}}|1}}}}}]] | [[File:{{{1}}}|{{{3|32}}}px|class=pixelated|link={{{2|{{#titleparts:{{{1}}}|1}}}}}]] | ||
Revision as of 00:43, 25 May 2025
pkmnSprite
Renders a Pixelmon sprite that links to a wiki page.
- **1 = file** – file name or path (after “File:” prefix)
- **2 = page** – target page to link to (defaults to file-name without “.png”)
- **3 = size** – *optional* thumbnail size in **px** (default **32**)
Example:
[[File:{{{1}}}|32px|class=pixelated|link={{{1}}}]]