Template:Versions
Jump to navigation
Jump to search
Documentation The documentation below is transcluded from Template:Versions/doc. (edit | history)
[purge]
Helper template. Used for displaying icon and text for multiple versions.
This template does not check for all platforms.
Parameters
Versions
- unnamed parameter 1
- Versions info in
version-version-version
format (can be output by
).{{eversions|[pagename]|raw=y}}
- dsk / desktop = y
- Sets Desktop version.
- cns / console = y
- Sets Console version.
- swt / switch = y
- Sets Nintendo Switch version.
- old / old-gen = y
- Sets Old-gen console version.
- mbl / mobile = y
- Sets Mobile version.
- jas / japan = y
- Sets Japanese Console version.
Display Settings (optional)
- mode or unnamed parameter 1
- Output mode, text = text only, icon = icon only, short = icon + short text, version/versions = icon + short text + "version(s)" (see example below).
- invert = y / yes
- Inverts the selection, useful for exempting specific versions (e.g. mobile & 3DS).
- nbsp = y / yes
- A space will be placed before the first item.
- thinsp = y / yes
- A thin space will be placed before the first item.
- short = y / yes / version / versions
- Use short text. When set to version/versions, it will append "version(s)" text (see example below).
- small = y / yes
- Icons will be smaller (75% of normal size).
- b / bold = y / yes
- Bold version text.
- i / italic = y / yes
- Italic version text.
- nl / nolink = y / yes
- Icons and text will not be linked to version pages.
Examples
code | output |
---|---|
{{versions|dsk=y|old=y|3ds=y}} |
Desktop version, Old-gen console version, and Nintendo version |
{{versions|dsk=y|swt=y|mbl=y}} |
Desktop version, Mobile version, and Nintendo Switch version |
{{versions|mbl=y}} |
Mobile version |
{{versions|dsk=y|mbl=y|small=y}} |
Desktop version and Mobile version |
{{versions| icon |dsk=y|swt=y|old=y|3ds=y}} |
|
HH{{versions|dsk=y|mbl=y|nbsp=y}} |
HH Desktop version and Mobile version |
HH{{versions|dsk=y|mbl=y|thinsp=y}} |
HH Desktop version and Mobile version |
HH{{versions|dsk=y|mbl=y|nbsp=y|thinsp=y}} |
HH Desktop version and Mobile version |
{{versions| text |dsk=y|old=y|3ds=y}} |
Desktop version, Old-gen console version, and Nintendo 3DS version |
{{versions| short |dsk=y|old=y|3ds=y}} |
Desktop, Old-gen console, and |
{{versions|dsk=y|old=y|3ds=y| short=y }} |
Desktop, Old-gen console, and |
{{versions| text |dsk=y|old=y|3ds=y| short=y }} |
Desktop, Old-gen console, and 3DS |
{{versions| version |dsk=y|old=y|3ds=y }} |
Desktop, Old-gen console, and versions |
{{versions| mode = versions |dsk=y|old=y|3ds=y}} |
Desktop, Old-gen console, and versions |
{{versions|dsk=y|old=y|3ds=y| short=version }} |
Desktop version, Old-gen console version, and Nintendo version |
{{versions|dsk=y| short=version }} |
Desktop version |
{{versions|dsk=y|old=y|3ds=y| b=y }} |
Desktop version, Old-gen console version, and Nintendo version |
{{versions|dsk=y|old=y|3ds=y| i=y }} |
Desktop version, Old-gen console version, and Nintendo version |
{{versions|dsk=y|old=y|3ds=y| b=y|i=y }} |
Desktop version, Old-gen console version, and Nintendo version |
{{versions|mobile-3ds| invert=y | nl=y }} |
Desktop version, Console version, Old-gen console version, Nintendo Switch version, and tModLoader version |