Modèle:Versions/doc
Aller à la navigation
Aller à la recherche
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 Version Bureau.
- cns / console = y
- Sets Version Console.
- swt / switch = y
- Sets Version Nintendo Switch.
- old / old-gen = y
- Sets Version Console old-gen.
- mbl / mobile = y
- Sets Version Mobile.
- 3ds / 3DS = y
- Sets Version Nintendo .
- jas / japan = y
- Sets Version Console japonaise.
Display Settings (optional)
- mode or unnamed parameter 1
- Output mode, text = text only, icon = icon only, and short = icon + short text.
- 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
- Use short text.
- 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}} |
Version Bureau, Version Console old-gen et Version Nintendo |
{{versions|dsk=y|swt=y|mbl=y}} |
Version Bureau, Version Mobile et Version Nintendo Switch |
{{versions|mbl=y}} |
Version Mobile |
{{versions|dsk=y|mbl=y|small=y}} |
Version Bureau et Version Mobile |
{{versions| icon |dsk=y|swt=y|old=y|3ds=y}} |
|
HH{{versions|dsk=y|mbl=y|nbsp=y}} |
HH Version Bureau et Version Mobile |
HH{{versions|dsk=y|mbl=y|thinsp=y}} |
HH Version Bureau et Version Mobile |
HH{{versions|dsk=y|mbl=y|nbsp=y|thinsp=y}} |
HH Version Bureau et Version Mobile |
{{versions| text |dsk=y|old=y|3ds=y}} |
Version Bureau, Version Console old-gen et Version Nintendo 3DS |
{{versions| short |dsk=y|old=y|3ds=y}} |
Bureau, Console old-gen et |
{{versions|dsk=y|old=y|3ds=y| short=y }} |
Bureau, Console old-gen et |
{{versions| text |dsk=y|old=y|3ds=y| short=y }} |
Bureau, Console old-gen et 3DS |
{{versions|dsk=y|old=y|3ds=y| b=y }} |
Version Bureau, Version Console old-gen et Version Nintendo |
{{versions|dsk=y|old=y|3ds=y| i=y }} |
Version Bureau, Version Console old-gen et Version Nintendo |
{{versions|dsk=y|old=y|3ds=y| b=y|i=y }} |
Version Bureau, Version Console old-gen et Version Nintendo |
{{versions|mobile-3ds| invert=y | nl=y }} |
Version Bureau, Version Console, Version Console old-gen, Version Nintendo Switch et Version tModLoader |