Jump to: navigation, search

Template:ItemLink

Revision as of 19:16, 5 January 2014 by MrTJP (talk | contribs) (Created page with "<includeonly>{{SpriteLink|ItemSprite|2={{{1|}}}|3={{{2|}}}|id={{{id|}}}}}</includeonly><noinclude> {{/doc}} Category:Templates </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template-info.png Documentation
Lua logo.svg
This template uses Module:Sprite, a script written in the Lua programming language. Please see wp:Lua and mw:Extension:Scribunto to learn more about Lua.

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}}
Pickaxe
{{ItemLink|Bread}}
Bread
{{ItemLink|Apple}}
Apple
{{ItemLink|id=raw-fish|Fish}}
Fish

See also



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