Terraria Wiki
Advertisement
Terraria Wiki

Nintendo Switch-Version Nintendo Switch-Version

Diese Vorlage ist synchronisiert-lokalisiert, d. h. sie ist mit der Version des englischen Terraria Wikis identisch. Änderungen an dieser Vorlage sollten zunächst dort vorgenommen werden.
Template-info Dokumentation Die folgende Dokumentation stammt von der Seite Vorlage:Common version/Dokumentation. (bearbeiten | Versionsgeschichte)
Siehe auch die englische Vorlagenseite: Template:Switch version. Sie enthält möglicherweise umfassendere oder aktuellere Informationen.
Important Diese Seite ist nicht oder unvollständig übersetzt.
Hilf mit, indem du den Text übersetzt und anschließend diesen Hinweis entfernst. Dies entfernt diese Seite auch aus der Liste von Seiten mit unzureichender Übersetzung.


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

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

Usage[]

All parameters are optional.

{{ switch 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/switch}}).
  • 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/switch}} for details.

Examples[]

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