模板:3DS version
Displays a standardized version link with icon, shown above. To display multiple versions, use {{versions}}.
Whenever the term "3DS version" is used in an article, it should be replaced with this template to ensure consistency.
Usage
All parameters are optional.
{{ 3DS version | <display mode> | short = y | nl = y | t = <custom display text> | glue = <characters between icon and text> | small = y | size = <size in px> | width = <width in px> | height = <height in px> | scale = <scale ratio> }}
- First unnamed parameter
Display mode; set it to one of the following values:
– Display the icon only (see {{icon/3DS}}).icon
– Display the text only.text
– Display the icon and an abbreviated version name.short
- short
Display an abbreviation of the version name. Identical to setting the first unnamed parameter to
.
short
- nl
Remove the link from the icon and/or text. They are linked by default.
- t
Customize the displayed text. Overrides |short=y
and has no effect when using
as mode.
icon
- glue
Set the characters between the icon and the text. Defaults to
.
- small, size, width, height, scale
Customize the icon display, see {{icon/3DS}} for details.
Examples
Code | Result | Note |
---|---|---|
{{3DS version}} |
任天堂版 | |
{{3DS version|icon}} |
Identical to {{icon/3DS}} .
| |
{{3DS version|text}} |
任天堂3DS版 | |
{{3DS version|short}} |
任天堂版 | |
{{3DS version|text|short=y}} |
任天堂3DS版 | |
{{3DS version|t=sometext}} |
sometext | Custom display text. |
{{3DS version|short=y}} |
任天堂版 | Identical to {{3DS version|short}}
|
{{3DS version|nl=y}} |
任天堂 | 版No link. |
{{3DS version|text|nl=y}} |
任天堂3DS版 | No link. |
{{3DS version|short|nl=y}} |
任天堂 | 版No link. |
{{3DS version|glue=-}} |
任天堂版 | |
{{3DS version|scale=2}} |
任天堂版 | See {{icon/3DS}}. |
{{3DS version|icon|small=y}} |
See {{icon/3DS}}. |