Template:Japanese console version

来自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 文档 以下文档来自Template:Common version/doc。(编辑 | 历史

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

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

Usage

All parameters are optional.

{{ japanese console 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/japanese console}}).
  • 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 &nbsp;.

small, size, width, height, scale

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

Examples

Code Result Note
{{japanese console version}} 日本主机版 日本主机版
{{japanese console version|icon}} 日本主机版 Identical to {{icon/japanese console}}.
{{japanese console version|text}} 日本主机版
{{japanese console version|short}} 日本主机版 日本主机版
{{japanese console version|text|short=y}} 日本主机版
{{japanese console version|t=sometext}} 日本主机版 sometext Custom display text.
{{japanese console version|short=y}} 日本主机版 日本主机版 Identical to {{japanese console version|short}}
{{japanese console version|nl=y}} 日本主机版 日本主机版 No link.
{{japanese console version|text|nl=y}} 日本主机版 No link.
{{japanese console version|short|nl=y}} 日本主机版 日本主机版 No link.
{{japanese console version|glue=-}} 日本主机版-日本主机版
{{japanese console version|scale=2}} 日本主机版 日本主机版 See {{icon/japanese console}}.
{{japanese console version|icon|small=y}} 日本主机版 See {{icon/japanese console}}.