Terraria Wiki

电脑版 电脑版

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 文档 以下文档内容来自模板:common version/doc。 (edit | history)

Displays a standardized version link with icon, shown above. To display multiple versions, use {{versions}}.

Whenever the term "Desktop version" is used in an article, it should be replaced with this template to ensure consistency.


All parameters are optional.

{{ desktop version | <display mode> | short = y | nl = y | t = <custom display text> | glue = <characters between icon and text> | small = y | size = <size in px> | width = <width in px> | height = <height in px> | scale = <scale ratio> }}

First unnamed parameter

Display mode; set it to one of the following values:

  • icon – Display the icon only (see {{icon/desktop}}).
  • text – Display the text only.
  • short – Display the icon and an abbreviated version name.

Display an abbreviation of the version name. Identical to setting the first unnamed parameter to short.


Remove the link from the icon and/or text. They are linked by default.


Customize the displayed text. Overrides |short=y and has no effect when using icon as mode.


Set the characters between the icon and the text. Defaults to  .

small, size, width, height, scale

Customize the icon display, see {{icon/desktop}} for details.


Code Result Note
{{desktop version}} 电脑版 电脑版
{{desktop version|icon}} 电脑版 Identical to {{icon/desktop}}.
{{desktop version|text}} 电脑版
{{desktop version|short}} 电脑版 电脑版
{{desktop version|text|short=y}} 电脑版
{{desktop version|t=sometext}} 电脑版 sometext Custom display text.
{{desktop version|short=y}} 电脑版 电脑版 Identical to {{desktop version|short}}
{{desktop version|nl=y}} 电脑版 电脑版 No link.
{{desktop version|text|nl=y}} 电脑版 No link.
{{desktop version|short|nl=y}} 电脑版 电脑版 No link.
{{desktop version|glue=-}} 电脑版-电脑版
{{desktop version|scale=2}} 电脑版 电脑版 See {{icon/desktop}}.
{{desktop version|icon|small=y}} 电脑版 See {{icon/desktop}}.