Template:Exclusive icons

来自Terraria Wiki
跳转至: 导航搜索
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.
Template-info.svg 文档 以下文档内容来自模板: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 (会套tc)
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 }} -> 3DS版 (3)
{{eicons|Soul of Blight |link = y}} -> 前代主机版3DS版 (O3) with link
{{eicons|Suspicious Looking Egg|small=y }} -> 3DS版 (3), small
{{eicons|Crystal Work Bench }} -> 电脑版主机版 (D)
{{eicons|Gold Butterfly }} -> 电脑版、主机版、和移动版 (DC)
{{eicons|Soul of Blight | invert = yes }} -> 电脑版、主机版、和移动版 (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}} -> 移动版 (M)
{{eicons|Dirt Block| old-gen = y | 3ds = y}} -> 前代主机版3DS版 (O3)
{{eicons| desktop = y | old-gen = y | mobile = y | console = y}} -> 电脑版、主机版、前代主机版、和移动版 (not 3)
{{item|Stone Block}} {{eicons| desktop = y | old-gen = y | mobile = y | console = y}} -> 石块石块 电脑版、主机版、前代主机版、和移动版