Template:EntityLink
Jump to navigation
Jump to search
No text provided.
This templates creates a page link with an associated sprite image on the left side using the format from Template:EntitySprite.
Parameters
| Name | Usage |
|---|---|
|1=
|
Set the defaults for all other parameters |
|id=
|
Sets the sprite. Spaces within this parameter are replaced with dashes and letters are made lowercase. Value may be a name or a number, though names are preferred |
|link=
|
Set the page to link, supports internal and external links If set to none, no link will be added
|
|text= or |2=
|
Sets the text to be displayed |
Examples
| Code | Result |
|---|---|
{{EntityLink|Creeper}} |
File:EntitySprite creeper.pngCreeper |
{{EntityLink|Lightning}} |
File:EntitySprite lightning.pngLightning |
{{EntityLink|TNT|Primed TNT}} |
File:EntitySprite tnt.pngPrimed TNT |
{{EntityLink|id=fishing-bobber|Fishing Rod|Fishing Rod Bobber}} |
File:EntitySprite fishing-bobber.pngFishing Rod Bobber |
Full list
Here is a full list of entities:
See also
{{EntitySprite}}{{Entity}}(infobox){{Entities}}(navbox)
[view | edit | history | purge]The above documentation is transcluded from Template:EntityLink/doc.