Difference between revisions of "Template:SpriteLink"
Jump to navigation
Jump to search
(Created page with "<includeonly>{{nowrap|{{{{{1}}}|{{#if: {{{id|}}} | {{{id}}} | {{lc:{{#replace:{{{2|}}}| |-}}}} }}|link={{{2|}}}}} [[{{{2|}}}|{{ #if: {{{3|}}} | {{{3}}} | {{{2|}}} }}]]}}</incl...") |
m (1 revision imported) |
(No difference)
| |
Latest revision as of 02:36, 2 October 2019
Parameters
| Name | Usage |
|---|---|
| Template:P | Sets the sprite. Spaces within this parameter are replaced with dashes and letters are made lowercase. Value may be a name or a number, though names are preferred |
| Template:P | Sets the link for the sprite and the optional text. If unset or set to none, no link is addedSupports both internal and external links |
| Template:P | If set, the value is displayed as text after the sprite. |
Examples
| Code | Result |
|---|---|
{{ItemSprite|iron-helmet}} |
Template:ItemSprite |
{{ItemSprite|apple}} |
Template:ItemSprite |
{{ItemSprite|diamond-pickaxe}} |
Template:ItemSprite |
{{ItemSprite|compass}} |
Template:ItemSprite |