Template:EnvLink

From Minecraft Wiki
Jump to navigation Jump to search
[view] [edit] [history] [refresh]Documentation
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:EnvSprite.

Parameters[edit source]

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[edit source]

Code Result
{{EnvLink|Sun}} EnvSprite sun.png: Sprite image for sun in Minecraft linking to SunSun
{{EnvLink|Moon}} EnvSprite moon.png: Sprite image for moon in Minecraft linking to MoonMoon
{{EnvLink|Music}} EnvSprite music.png: Sprite image for music in Minecraft linking to MusicMusic
{{EnvLink|id=the-nether|Nether}} EnvSprite the-nether.png: Sprite image for the-nether in Minecraft linking to NetherNether

Full list[edit source]

Here is a full list of entities:

See also[edit source]

Minecraft
Minecraft (legacy)
Minecraft Dungeons
Minecraft Legends
Minecraft Story Mode
Other
[view] [edit] [history] [refresh]The above documentation is transcluded from Template:EnvLink/doc.