Template:SpriteLink/doc

From MC Public Wiki
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

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

fr:Modèle:LienSprite/doc