Szablon:Versions

Z Terraria Wiki
Skocz do: nawigacja, szukaj

Helper template. Used for displaying icon and text for multiple versions.

This template does not check for all platforms.

Parameters[edytuj kod]

Versions[edytuj kod]

unnamed parameter 1
Versions info in version-version-version format (can be output by {{eversions|[pagename]|raw=y}}).
dsk / desktop = y
Sets Desktop version Desktop version.
cns / console = y
Sets Console version Console version.
swt / switch = y
Sets Switch version Switch version.
old / old-gen = y
Sets Old-gen console version Old-gen console version.
mbl / mobile = y
Sets Mobile version Mobile version.
3ds / 3DS = y
Sets 3DS version 3DS version.
jas / japan = y
Sets Japanese Console version Japanese Console version.

Display Settings (optional)[edytuj kod]

mode or unnamed parameter 1
Output mode, text = text only, icon = icon only, and short = icon + short text.
invert = y / yes
Inverts the selection, useful for exempting specific versions (e.g. mobile & 3DS).
nbsp = y / yes
A space will be placed before the first item.
thinsp = y / yes
A thin space will be placed before the first item.
short = y / yes
Use short text.
small = y / yes
Icons will be smaller (75% of normal size).
b / bold = y / yes
Bold version text.
i / italic = y / yes
Italic version text.
nl / nolink = y / yes
Icons and text will not be linked to version pages.

Examples[edytuj kod]

code output
{{versions|dsk=y|old=y|3ds=y}} Desktop version Desktop version, Old-gen console version Old-gen console version, and 3DS version DS version
{{versions|dsk=y|swt=y|mbl=y}} Desktop version Desktop version, Switch version Switch version, and Mobile version Mobile version
{{versions|mbl=y}} Mobile version Mobile version
{{versions|dsk=y|mbl=y|small=y}} Desktop version Desktop version and Mobile version Mobile version
{{versions| icon |dsk=y|swt=y|old=y|3ds=y}} Desktop versionSwitch versionOld-gen console version3DS version
HH{{versions|dsk=y|mbl=y|nbsp=y}} HH Desktop version Desktop version and Mobile version Mobile version
HH{{versions|dsk=y|mbl=y|thinsp=y}} HH Desktop version Desktop version and Mobile version Mobile version
HH{{versions|dsk=y|mbl=y|nbsp=y|thinsp=y}} HH  Desktop version Desktop version and Mobile version Mobile version
{{versions| text |dsk=y|old=y|3ds=y}} Desktop version, Old-gen console version, and 3DS version
{{versions| short |dsk=y|old=y|3ds=y}} Desktop version Desktop, Old-gen console version Old-gen console, and 3DS versionDS
{{versions|dsk=y|old=y|3ds=y| short=y }} Desktop version Desktop, Old-gen console version Old-gen console, and 3DS versionDS
{{versions| text |dsk=y|old=y|3ds=y| short=y }} Desktop, Old-gen console, and 3DS
{{versions|dsk=y|old=y|3ds=y| b=y }} Desktop version Desktop version, Old-gen console version Old-gen console version, and 3DS version DS version
{{versions|dsk=y|old=y|3ds=y| i=y }} Desktop version Desktop version, Old-gen console version Old-gen console version, and 3DS version DS version
{{versions|dsk=y|old=y|3ds=y| b=y|i=y }} Desktop version Desktop version, Old-gen console version Old-gen console version, and 3DS version DS version
{{versions|mobile-3ds| invert=y | nl=y }} Desktop version Desktop version, Console version Console version, Switch version Switch version, and Old-gen console version Old-gen console version