Template:EntityLink
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
- {{EntitySprite}}
- {{Entity}} (infobox)
- {{Entities}} (navbox)
- {{BiomeLink}}
- {{BlockLink}}
- {{EffectLink}}
- {{EntityLink}}
- {{EnvLink}}
- {{InvLink}}
- {{ItemLink}}
- Module:Sprite
The above documentation is transcluded from Template:EntityLink/doc. (edit | history)