Template:EffectSprite/doc: Difference between revisions

From Parallel Wiki
Jump to navigation Jump to search
 
m (1 revision imported: Imported from minecraft.wiki)
 
(No difference)

Latest revision as of 21:46, 2 November 2023

This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Lua logo.svg
This template uses Module:SpriteFile, a script written in Lua.

This template displays a potion effect sprite from the following naming scheme: File:EffectSprite_<id>.png

Parameters

Name Usage
|1= 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= Sets the link for the sprite and the optional text. If unset or set to none, no link is added
Supports both internal and external links
|text= If set, the value is displayed as text after the sprite.

Examples

Code Result
{{EffectSprite|slowness}} EffectSprite slowness.png: Sprite image for slowness in Minecraft
{{EffectSprite|hunger}} EffectSprite hunger.png: Sprite image for hunger in Minecraft

Full list

Here is a full list of entities:

See also

Minecraft
Minecraft (legacy)
Minecraft Dungeons
Other


es:Plantilla:EffectSprite/doc ja:テンプレート:EffectSprite/doc ko:틀:EffectSprite/doc pt:Predefinição:EffectSprite/doc ru:Шаблон:Спрайт/Эффект/док zh:Template:EffectSprite/doc