Template:Exclusive
This template defines the table "Exclusive". View table.
[purge]
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.
- not
- Name of a page whose exclusive versions are to be subtracted from the main exclusive versions from the first unnamed parameter. Note that this is evaluated after
, i.e. the exclusive versions of the main page are inverted first, and then the exclusive versions of the page from this parameter are subtracted from that.$invert
- 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 parameters
- Override versions from the first unnamed parameter (after
and$invert
are evaluated), or set versions manually if no first unnamed parameter is provided. Values for all of the following parameters can be$not
y
,yes
,n
, orno
.
(see below) can be used alternatively.$version
dsk
desktop
pc
cns
console
old
oldgen
old-gen
old-gen console
mbl
mobile
3DS
3ds
jas
japan
japanese
j-console
japanese-console
- version = platform-platform-platform
- Alternative code-style versions info. Example:
desktop-console
. Can beall
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
{{exclusive|mobile=yes|3ds=yes}}
returns
{{exclusive|japan=yes|mobile=yes|3ds=yes}}
returns
{{exclusive|desktop=yes|3ds=yes|console=yes}}
returns
{{exclusive|desktop=yes|3ds=yes|console=yes|section=yes}}
returns
Take the exclusive info from another page:
{{exclusive|1.3.0.1}}
returns
{{exclusive|1.3.0.1#Features and Mechanics}}
returns
{{exclusive|1.3.0.1|invert=y}}
returns
{{exclusive|1.3.0.1|not=1.4.0.1}}
returns
{{exclusive|1.3.0.1|3ds=y}}
returns
{{exclusive|1.3.0.1|3ds=y|dsk=n}}
returns
{{exclusive|1.3.0.1|invert=y|dsk=y}}
returns