Modèle:Exclusive versions

De Terraria Wiki
Aller à : navigation, rechercher
Lua logo.svg
Ce modèle utilise Module:Exclusive, qui est écrit avec un script dans le language de programmation Lua. Pour en apprendre plus à propos de Lua, visiter Wikipédia:Lua et mw:Extension:Scribunto.
Ce modèle est considéré comme prêt pour i18n, signifiant qu'il est facile à régionaliser pour les différentes langues. Veuillez regarder I18n & l10n pour les modèles (en) pour en apprendre plus.
Voir Modèle:Exclusive versions/l10n pour la localisation de ce modèle.
Template-info.svg Documentation La documentation ci-dessous est transcluse de Modèle:Exclusive versions/doc. (modifier | historique)

This template is similar to {{Exclusive icons}}, except instead of icons it outputs versions. {{Eversions}} can be used as a shortcut for this template.

Parameter Usage

{{exclusive versions|page|short|invert=yes|nl=yes|nlicons=yes|raw=yes|delimit=delimiter|upper3ds=yes}}

Short(2nd unamed paramter) or short=y
Use short to make all of the versions have the short parameter. Example:
{{eversions|Traveling Merchant|short}} —> Version Bureau Bureau, Version Console Console, Version Console old-gen Console old-gen et Version Mobile Mobile
{{eversions|Traveling Merchant|short=y}} —> Version Bureau Bureau, Version Console Console, Version Console old-gen Console old-gen et Version Mobile Mobile
{{eversions|Traveling Merchant|short|nl=yes}} —> Bureau, Console, Console old-gen et Mobile
raw=yes, delimit=delimiter, and upper3ds=yes (code and replace are partially deprecated)
Use raw=yes to output raw text.
This text will output with "/" character in-between each version name by default, but another delimiter may be specified with delimit=delimiter.
If 3ds outputs, "ds" is lowercase by default. Change this to uppercase by using upper3ds=yes (upper3DS=yes is also acceptable).
{{eversions|Horned God set|3DS=y|raw=y|delimit=-}} —> console-old-gen-3ds
nl/nolink=yes, nlicons=yes, and noicons=yes
Use nl=yes to output version names without links or icons. Example:
{{eversions|Palm Wood|nl=yes}} —> Version Bureau, Version Console, Version Console old-gen et Version Mobile
Use nlicons=yes to re-add the version icons when using nl.
{{eversions|Ocram Mask|nl=yes|nlicons=yes}} —> Version Console Version Console et Version Console old-gen Version Console old-gen
Use noicons=yes to print links, but no icons.
{{eversions|Ocram Mask|noicons=yes}} —> Version Console et Version Console old-gen
invert=yes
Use invert=yes to output the opposite of the page's exclusivity. Example:
{{eversions|Traveling Merchant|invert=yes}} —> Version Version 3DS 3DS
Important Note: This disables the sensor of Japanese Console content.
desktop/dsk=y/n, console/cns=y/n, old-gen/oldgen/old = y/n, mobile/mbl=y/n, and 3DS/3ds=y/n
Override options. For example, {{eversions|Zapinator|desktop=y}} outputs Version Bureau Version Bureau et Version Version 3DS 3DS. See {{exclusive}} and {{eicons}}

Examples

The Ocram Mask is available on the Version Console Version Console et Version Console old-gen Version Console old-gen. (displayed with {{eversions|Ocram Mask}})

Ocram is available on the Version Console old-gen Version Console old-gen et Version Version 3DS 3DS. (displayed with {{eversions|Ocram}})

1.3 is on the Version Bureau Version Bureau, Version Console Version Console et Version Mobile Version Mobile. (displayed with {{eversions|1.3.0.1}})

Version Console old-gen Version Console old-gen et Version Version 3DS 3DS. (displayed with {{eversions|1.3.0.1|invert=y}})

The Monokuma costume is exclusive to the Version Console japonaise Version Console japonaise. (displayed with {{eversions|Monokuma set}})