Documentation
[ purge ]
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 templates creates a page link with an associated sprite image on the left side using the IDs from Template:EffectSprite.
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 |
---|---|
{{EffectLink|Nausea}} | Nausea |
{{EffectLink|id=poison|Health}} | Health |
See also[]
{{EffectSprite}}
{{EntityLink}}
{{ItemLink}}
- Module:SpriteFile