Template:ItemLink

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 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

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

fr:Modèle:LienObjet