Terraria Wiki
Advertisement
Terraria Wiki

Console version Console version

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 Documentation The documentation below is transcluded from Template:Common version/doc. (edit | history)

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

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

Usage

All parameters are optional.

{{ 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/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/console}} for details.

Examples

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