Sablon:Exclusive versions
This template uses Modul:Exclusive, a script written in the Lua programming language. To learn more about Lua, see Terraria Wiki:Lua. |
This template is i18n-ready, means it is easy to localize for different languages. Please see I18n & l10n for Templates to learn more. |
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}} —> Asztali, Konzol, Régi generációs konzol, és Mobil
- {{eversions|Traveling Merchant|short=y}} —> Asztali, Konzol, Régi generációs konzol, és Mobil
- {{eversions|Traveling Merchant|short|nl=yes}} —> Asztali, Konzol, Régi generációs konzol, és Mobil
- 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 and nlicons=yes
- Use nl=yes to output version names without links or icons. Example:
- {{eversions|Palm Wood|nl=yes}} —> Asztali számítógépes változat, Konzolos változat, Régi generációs konzolos változat, és Mobilos változat
- Use nlicons=yes to re-add the version icons when using nl.
- {{eversions|Ocram Mask|nl=yes|nlicons=yes}} —> Konzolos változat és Régi generációs konzolos változat
- invert=yes
- Use invert=yes to output the opposite of the page's exclusivity. Example:
- {{eversions|Traveling Merchant|invert=yes}} —> -es változat
- 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 Asztali számítógépes változat és -es változat. See
{{exclusive}}
and{{eicons}}
Examples
The Ocram Mask is available on the Konzolos változat és Régi generációs konzolos változat. (displayed with {{eversions|Ocram Mask}}
)
Ocram is available on the Régi generációs konzolos változat és -es változat. (displayed with {{eversions|Ocram}}
)
1.3 is on the Asztali számítógépes változat, Konzolos változat, és Mobilos változat. (displayed with {{eversions|1.3.0.1}}
)
Régi generációs konzolos változat és -es változat. (displayed with {{eversions|1.3.0.1|invert=y}}
)
The Monokuma costume is exclusive to the Japán konzolos változat. (displayed with {{eversions|Monokuma set}}
)
- Pages using DynamicPageList3 dplvar parser function
- Templates using Lua
- I18n-ready templates
- Exclusive templates