Template:SpriteLink

From MC Public Wiki
Revision as of 17:02, 14 October 2011 by Admin (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}

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}}
ItemCSS.png
Fish
{{SpriteLink|BlockSprite|Stone}}
BlockCSS.png
Stone
{{SpriteLink|EnvSprite|Sun|Shiny!}} Shiny!
{{SpriteLink|EntitySprite|Player}} Player

See also

The above documentation is transcluded from Template:SpriteLink/doc. (edit | history)

fr:Modèle:LienSprite