Sablon:Exclusive/doc
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
, orno
.
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|3ds=y}}
returns
{{exclusive|1.3.0.1|3ds=y|dsk=n}}
returns
{{exclusive|1.3.0.1|invert=y|dsk=y}}
returns
- Pages using DynamicPageList3 dplvar parser function
- Pages using DynamicPageList3 dplreplace parser function
- Pages using DynamicPageList3 parser function
- Template documentation