Terraria Wiki
Advertisement
Terraria Wiki
3,710
个页面
This template is i18n-ready, which means it is easy to localize for different languages. Please see i18n & l10n for templates to learn more.
See Template:Versions/l10n for the localization of this template.
Template-info.svg 文档 以下文档内容来自模板:Versions/doc。 (edit | history)

Helper template. Used for displaying icon and text for multiple versions.

This template does not check for all platforms.

Parameters

Versions

unnamed parameter 1
Versions info in version-version-version format (can be output by {{eversions|[pagename]|raw=y}}).
dsk / desktop = y
Sets 电脑版 电脑版.
cns / console = y
Sets 主机版 主机版.
swt / switch = y
Sets Switch版 Switch版.
old / old-gen = y
Sets  前代主机版前代主机版.
mbl / mobile = y
Sets 移动版 移动版.
3ds / 3DS = y
Sets 3DS3DS版.
jas / japan = y
Sets 日本主机版 日本主机版.
tml / tmodloader = y
Sets tModLoader使用的版本 tModLoader使用的版本.

Display Settings (optional)

mode or unnamed parameter 1
Output mode, text = text only, icon = icon only, short = icon + short text, version/versions = icon + short text + "version(s)" (see example below).
invert = y / yes
Inverts the selection, useful for exempting specific versions (e.g. mobile & 3DS).
nbsp = y / yes
A space will be placed before the first item.
thinsp = y / yes
A thin space will be placed before the first item.
short = y / yes / version / versions
Use short text. When set to version/versions, it will append "version(s)" text (see example below).
small = y / yes
Icons will be smaller (75% of normal size).
b / bold = y / yes
Bold version text.
i / italic = y / yes
Italic version text.
nl / nolink = y / yes
Icons and text will not be linked to version pages.

Examples

code output
{{versions|dsk=y|old=y|3ds=y}} 电脑版 电脑版、 前代主机版前代主机版、和3DS3DS版
{{versions|dsk=y|swt=y|mbl=y}} 电脑版 电脑版移动版 移动版、和Switch版 Switch版
{{versions|mbl=y}} 移动版 移动版
{{versions|dsk=y|mbl=y|small=y}} 电脑版 电脑版移动版 移动版
{{versions| icon |dsk=y|swt=y|old=y|3ds=y}} 电脑版  前代主机版  3DS版Switch版
HH{{versions|dsk=y|mbl=y|nbsp=y}} HH 电脑版 电脑版移动版 移动版
HH{{versions|dsk=y|mbl=y|thinsp=y}} HH 电脑版 电脑版移动版 移动版
HH{{versions|dsk=y|mbl=y|nbsp=y|thinsp=y}} HH  电脑版 电脑版移动版 移动版
{{versions| text |dsk=y|old=y|3ds=y}} 电脑版前代主机版、和3DS版
{{versions| short |dsk=y|old=y|3ds=y}} 电脑版 电脑版、 前代主机版前代主机版、和3DS3DS版
{{versions|dsk=y|old=y|3ds=y| short=y }} 电脑版 电脑版、 前代主机版前代主机版、和3DS3DS版
{{versions| text |dsk=y|old=y|3ds=y| short=y }} 电脑版前代主机版、和3DS版
{{versions| version |dsk=y|old=y|3ds=y }} 电脑版 电脑版、 前代主机版前代主机版、和3DS3DS版
{{versions| mode = versions |dsk=y|old=y|3ds=y}} 电脑版 电脑版、 前代主机版前代主机版、和3DS3DS版
{{versions|dsk=y|old=y|3ds=y| short=version }} 电脑版 电脑版、 前代主机版前代主机版、和3DS3DS版
{{versions|dsk=y| short=version }} 电脑版 电脑版
{{versions|dsk=y|old=y|3ds=y| b=y }} 电脑版 电脑版前代主机版前代主机版、和3DS3DS版
{{versions|dsk=y|old=y|3ds=y| i=y }} 电脑版 电脑版前代主机版前代主机版、和3DS3DS版
{{versions|dsk=y|old=y|3ds=y| b=y|i=y }} 电脑版 电脑版前代主机版前代主机版、和3DS3DS版
{{versions|mobile-3ds| invert=y | nl=y }} 电脑版 电脑版、主机版 主机版、 前代主机版 前代主机版、Switch版 Switch版、和tModLoader使用的版本 tModLoader使用的版本
Advertisement