Template:Exclusive

From Terraria Wiki
Jump to: navigation, search

This template defines the table "Exclusive". View table.

Lua logo.svg
This template uses Module:Exclusive, a script written in the Lua programming language. Please see wikipedia:Lua and mw:Extension:Scribunto to learn more about Lua.
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:Exclusive/doc. (edit | history)

An all-in-one template that notes exclusivity to any versions of Terraria.

Usage

All possible parameters:

First unnamed parameter

Page name, will get exclusive info from it. Appending sections is supported, the exclusive info for the page name will still be gathered (see examples below).

invert=y/yes
Inverts the exclusivity, i.e. the opposite will be output. Important note: this disables the Japanese Console version sensor.
section = y/yes
Changes the message text from "This infomation" to "This section's information", automatically activates nocat = yes.
nocat = y/yes
Prevents the template from adding the page it is used on to any categories.
nobanner = y/yes
Prevents displaying the message banner box, thus only categorizes the page. This is usually used on redirect pages.
width
Sets the CSS width of the message banner box.

Versions:

Override the versions. Values for all of the following parameters can be y, yes, n, or no.
Desktop version dsk
desktop
pc
Console version cns
console
Old-gen console version old
oldgen
old-gen
old-gen console
Mobile Version mbl
mobile
3DS version 3DS
3ds
Japanese Console version jas
japan
japanese
j-console
japanese-console
version = platform-platform-platform
Alternative code-style versions info. Example: desktop-console. Can be all to set all versions.


If a page name (unnamed parameter 1) is specified, an {{all versions}} is automatically put on any pages which are available to all platforms.

Examples

{{exclusive|desktop=yes}} returns
Desktop version Desktop-Only Content: This information applies only to the Desktop version of Terraria.
{{exclusive|mobile=yes|3ds=yes}} returns
Mobile version3DS version Mobile/3DS-Only Content: This information applies only to the Mobile and 3DS versions of Terraria.
{{exclusive|japan=yes|mobile=yes|3ds=yes}} returns
Japanese Console versionMobile version3DS version Japanese console/Mobile/3DS-Only Content: This information applies only to the Japanese Console, Mobile, and 3DS versions of Terraria.
{{exclusive|desktop=yes|3ds=yes|console=yes}} returns
Desktop versionConsole version3DS version Desktop/Console/3DS-Only Content: This information applies only to the Desktop, Console, and 3DS versions of Terraria.
{{exclusive|desktop=yes|3ds=yes|console=yes|section=yes}} returns
Desktop versionConsole version3DS version Desktop/Console/3DS-Only Content: This section's information applies only to the Desktop, Console, and 3DS versions of Terraria.


Take the exclusive info from another page:

{{exclusive|1.3.0.1}} returns
Desktop versionConsole version Desktop/Console-Only Content: This information applies only to the Desktop and Console versions of Terraria.
{{exclusive|1.3.0.1#Features and Mechanics}} returns
Desktop versionConsole version Desktop/Console-Only Content: This information applies only to the Desktop and Console versions of Terraria.
{{exclusive|1.3.0.1|invert=y}} returns
Old-gen console versionMobile version3DS version Old-gen console/Mobile/3DS-Only Content: This information applies only to the Old-gen console, Mobile, and 3DS versions of Terraria.
{{exclusive|1.3.0.1|3ds=y}} returns
Desktop versionConsole version3DS version Desktop/Console/3DS-Only Content: This information applies only to the Desktop, Console, and 3DS versions of Terraria.
{{exclusive|1.3.0.1|3ds=y|dsk=n}} returns
Console version3DS version Console/3DS-Only Content: This information applies only to the Console and 3DS versions of Terraria.
{{exclusive|1.3.0.1|invert=y|dsk=y}} returns
Desktop versionOld-gen console versionMobile version3DS version Desktop/Old-gen console/Mobile/3DS-Only Content: This information applies only to the Desktop, Old-gen console, Mobile, and 3DS versions of Terraria.