Jump to: navigation, search

Template:EntityLink/doc

< Template:EntityLink
Revision as of 15:46, 14 February 2014 by MrTJP (talk | contribs) (1 revision)
(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:EntitySprite. The sprite can be customized with the parameter id if it's not recognized correctly.

Examples

Code Result
{{EntityLink|Creeper}}
Creeper
{{EntityLink|Lightning}}
Lightning
{{EntityLink|TNT|Primed TNT}}
Primed TNT
{{EntityLink|id=fishing-rod|Fishing Rod|Fishing Rod Bobber}}
Fishing Rod Bobber

See also

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



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