Template:EntityLink: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
m Changed protection settings for "Template:EntityLink": High use template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
m 1 revision imported
 
(No difference)

Latest revision as of 21:35, 19 May 2025

Documentation[view] [edit] [history] [refresh]
This template uses Module:SpriteFile, a script written in Lua.

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

Word-ending links such as {{EntityLink|Creeper}}s will not include the suffix as part of the link text, unlike normal links. The text= or second unnamed argument should be used instead; i.e. {{EntityLink|Creeper|Creepers}}

Examples

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

Full list

Here is a full list of entities:

See also

Minecraft
Minecraft (legacy)
Minecraft Dungeons
Minecraft Legends
Minecraft Story Mode
A Minecraft Movie
Other

de:Vorlage:ObjektLink es:Plantilla:EnlaceEntidad fr:Modèle:LienEntité it:Template:CollegamentoEntità ja:テンプレート:EntityLink ko:틀:EntityLink lzh:模板:EntityLink nl:Sjabloon:EntityLink pl:Szablon:BytLink pt:Predefinição:EntityLink ru:Шаблон:Ссылка/Сущность th:แม่แบบ:EntityLink uk:Шаблон:Посилання/Сутність zh:Template:EntityLink

[view] [edit] [history] [refresh]The above documentation is transcluded from Template:EntityLink/doc.