Template:ItemLink/doc

From MC Public Wiki
< Template:ItemLink
Revision as of 17:01, 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 Template:ItemSprite. The sprite can be customized with the parameter id if it's not recognized correctly.

Examples

Code Result
{{ItemLink|Pickaxe}}
ItemCSS.png
Pickaxe
{{ItemLink|Bread}}
ItemCSS.png
Bread
{{ItemLink|Apple}}
ItemCSS.png
Apple
{{ItemLink|id=raw-fish|Fish}}
ItemCSS.png
Fish

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:LienObjet/doc