Terraria Wiki
Advertisement
Terraria Wiki
3,708
个页面

3DS3DS版

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 "3DS version" is used in an article, it should be replaced with this template to ensure consistency.

Usage

All parameters are optional.

{{ 3DS 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/3DS}}).
  • text – Display the text only.
  • short – Display the icon and an abbreviated version name.
short

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

nl

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

t

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

glue

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

small, size, width, height, scale

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

Examples

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