This template uses Module:SpriteFile, a script written in Lua.
Please see Lua and mw:Extension:Scribunto to learn more.
Please see Lua and mw:Extension:Scribunto to learn more.
This template displays a potion effect sprite:
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 addedSupports both internal and external links |
{{{text}}}
|
If set, the value is displayed as text after the sprite. |
Examples[]
Code | Result |
---|---|
{{EffectSprite|slowness}} |
|
{{EffectSprite|hunger}} |
See also[]
{{EffectLink}}
{{BlockSprite}}
{{EffectSprite}}
{{EntitySprite}}
{{ItemSprite}}
{{InvSprite}}
{{SlotSprite}}
- Module:SpriteFile