Terraria Wiki
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.
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 文档 以下文档内容来自模板:Exclusive icon link/doc。 (edit | history)

A short way to make a link that includes {{exclusive icons}}. Acceptable shortcut: {{eil}}.

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


First unnamed parameter

Link target and eicons base.

  • For example, {{eil|Tutorial}} returns 教程 (co3)
  • For example, {{eil|Work Bench}} returns 工作台 (available on all platforms, so there is no icon.)
Second unnamed parameter

Renamed link.

  • For example, {{eil|Tutorial|Tutor}} returns Tutor
  • Inputting an "s" adds an s at the end of the text, for example {{eil|Tutorial|s}} returning 教程

Override the link target.

  • For example, {{eil|Tutorial|link=}} returns 教程 (co3)
epage=[pagename], invert=y, 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 eicons info. see {{eicons}}. If epage is specified, it will override unnamed parameter 1 and use as exclusive info base page.

  • For example: {{eil|Tutorial|3ds=n}} returns 教程 (co), {{eil|Tutorial|epage=|invert=y|3ds=n}} returns 教程 (o), {{eil|Tutorial|epage=|dsk=y}} returns 教程 (d), {{eil|Tutorial|epage=|link=|mbl=y}} returns 教程 (m)

size of eicons.
Important note: default is small=y, so if you need, you should use small=n explicitly.

  • For example, {{eil|Tutorial|small=n}} returns 教程

disable link

  • For example, {{eil|Tutorial|nolink=y}} returns 教程