Template:PkmnSprite: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 10: | Line 10: | ||
Example: | Example: | ||
<syntaxhighlight lang="text"> | <syntaxhighlight lang="text"> | ||
{{pkmnSprite | {{pkmnSprite|Pixelmon-pokemon-025_pikachu-all-base-none-sprite.png|Pikachu|48}} | ||
}} | |||
</syntaxhighlight> | </syntaxhighlight> | ||
</noinclude> | </noinclude> | ||
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: <syntaxhighlight lang="text">
</syntaxhighlight>
[[File:{{{1}}}|32px|class=pixelated|link={{{1}}}]]