Template:Exclusive icon link

来自Terraria Wiki
(重定向自Template:Eil
跳转至: 导航搜索
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, 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.

第1参数会尝试调用 Tc 模板进行自动翻译,第二参数不为s时也会Tc。

Usage[编辑源代码]

First unnamed parameter

Link.

  • For example, {{eil|Tutorial}} returns 教程
  • 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 教程
small=y/n/yes/no

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 教程
nolink=y/yes

disable link

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

override auto eicons. Note that the small= parameter of eil doesn't affect this.

  • For example: {{eil|Tutorial|small=y|eicons={{eicons|desktop=y|3ds=y}}}} returns 教程