Template:Exclusive icons

From Terraria Wiki
(Redirected from Template:Eicons)
Jump to: navigation, search
Lua logo.svg
This template uses Module:Exclusive, a script written in the Lua programming language. Please see wikipedia:Lua and mw:Extension:Scribunto to learn more about Lua.
This template is i18n-ready, which means it is easy to localize for different languages. Please see I18n & l10n for Templates to learn more.
Template-info.svg Documentation The documentation below is transcluded from Template:Exclusive icons/doc. (edit | history)

Returns the icons indicating the platforms for which an item is available. For displaying a link with eicons, use {{Exclusive icon link}}.

You can use {{eicons/options}} to change default value for some parameters.


Acceptable shortcut: {{eicons}}

Unnamed Parameter 1
Item name
small= y/yes
Use small=yes to make all of the icons smaller.
link= y/yes
Icons link to corresponding platform version pages. For performance and resoure reason, default is no link.
Use this if you want icons to output the opposite of the exclusivity. Important note: this disables the Japanese Console version sensor.
desktop/dsk=y/n, console/cns=y/n, japan/jas=y/n, mobile/mbl=y/n, old-gen/oldgen/old=y/n, 3DS/3ds=y/n
Override options. Important note: these are evaluated after "invert".


{{eicons|Suspicious Looking Egg }} -> Mobile Version3DS Version (M3)
{{eicons|Suspicious Looking Egg | invert = y}} -> Desktop VersionConsole VersionOld-gen console version (DCO)
{{eicons|Soul of Blight |link = y}} -> Old-gen console versionMobile Version3DS Version (OM3) with link
{{eicons|Suspicious Looking Egg|small=y }} -> Mobile Version3DS Version (M3), small
{{eicons|Crystal Work Bench }} -> Desktop Version (D)
{{eicons|Gold Butterfly }} -> Desktop VersionConsole Version (DC)
{{eicons|Soul of Blight | invert = yes }} -> Desktop VersionConsole Version (DC)
{{eicons|Work Bench}} -> (nothing, since Work Bench is on all versions)
{{eicons|Dirt Block}} -> (nothing, since Dirt Block is on all versions)
{{eicons|Dirt Block| mobile = y}} -> Mobile Version (M)
{{eicons|Dirt Block| old-gen = y | 3ds = y}} -> Old-gen console version3DS Version (O3)
{{eicons| desktop = y | old-gen = y | mobile = y | console = y}} -> Desktop VersionConsole VersionOld-gen console versionMobile Version (not 3)
{{eicons| japan = y }} -> Japanese Console version (J)
{{item|Stone Block}} {{eicons| desktop = y | old-gen = y | mobile = y | console = y}} -> Stone BlockStone Block Desktop VersionConsole VersionOld-gen console versionMobile Version