Jump to: navigation, search

Template:SpriteLink

Revision as of 19:20, 5 January 2014 by MrTJP (talk | contribs) (Created page with "<includeonly><span class="nowrap">{{{{{1}}}|{{#if: {{{id|}}} | {{{id}}} | {{lc:{{#replace:{{{2}}}| |-}}}} }}|link={{{2}}}}} {{ #if: {{#pos: {{{2}}} | // }} | [{{{2}}} {{#if: {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template-info.png Documentation

This templates creates a page link with an associated sprite image on the left side using the IDs from one of these templates:

The first parameter must specify one of the sprite templates mentioned above, the second one contains the desired link, which can optionally be named with the third parameter. The sprite can be customized with the parameter id if it's not recognized correctly.

Examples

Code Result
{{SpriteLink|MobSprite|Creeper}}
Creeper
{{SpriteLink|ItemSprite|Fish|id=cooked-fish}}
Fish
{{SpriteLink|BlockSprite|Stone}}
Stone
{{SpriteLink|EnvSprite|Sun|Shiny!}}
Shiny!
{{SpriteLink|EntitySprite|Player}}
Player

See also



Cookies help us deliver our services. By using our services, you agree to our use of cookies.