模板:Versions
跳至導覽
跳至搜尋
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
電腦版.
- cns / console = y
- Sets
主機版.
- swt / switch = y
- Sets
任天堂Switch版.
- old / old-gen = y
- Sets
前代主機版.
- mbl / mobile = y
- Sets
移動版.
- jas / japan = y
- Sets
日本主機版.
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}} |
![]() ![]() ![]() |
{{versions|dsk=y|swt=y|mbl=y}} |
![]() ![]() ![]() |
{{versions|mbl=y}} |
![]() |
{{versions|dsk=y|mbl=y|small=y}} |
![]() ![]() |
{{versions| icon |dsk=y|swt=y|old=y|3ds=y}} |
![]() ![]() ![]() ![]() |
HH{{versions|dsk=y|mbl=y|nbsp=y}} |
HH ![]() ![]() |
HH{{versions|dsk=y|mbl=y|thinsp=y}} |
HH ![]() ![]() |
HH{{versions|dsk=y|mbl=y|nbsp=y|thinsp=y}} |
HH ![]() ![]() |
{{versions| text |dsk=y|old=y|3ds=y}} |
電腦版、前代主機版、和任天堂3DS版 |
{{versions| short |dsk=y|old=y|3ds=y}} |
![]() ![]() ![]() |
{{versions|dsk=y|old=y|3ds=y| short=y }} |
![]() ![]() ![]() |
{{versions| text |dsk=y|old=y|3ds=y| short=y }} |
電腦版、前代主機版、和任天堂3DS版 |
{{versions| version |dsk=y|old=y|3ds=y }} |
![]() ![]() ![]() |
{{versions| mode = versions |dsk=y|old=y|3ds=y}} |
![]() ![]() ![]() |
{{versions|dsk=y|old=y|3ds=y| short=version }} |
![]() ![]() ![]() |
{{versions|dsk=y| short=version }} |
![]() |
{{versions|dsk=y|old=y|3ds=y| b=y }} |
![]() ![]() ![]() |
{{versions|dsk=y|old=y|3ds=y| i=y }} |
![]() ![]() ![]() |
{{versions|dsk=y|old=y|3ds=y| b=y|i=y }} |
![]() ![]() ![]() |
{{versions|mobile-3ds| invert=y | nl=y }} |
![]() ![]() ![]() ![]() ![]() |
分類:
- I18n-ready templates
- Version templates