Template:Console version
Displays a standardized version link with icon, shown above. To display multiple versions, use {{versions}}.
Whenever the term "Console version" is used in an article, it should be replaced with this template to ensure consistency.
Usage
All parameters are optional.
{{ console 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/console}}).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/console}} for details.
Examples
Code | Result | Note |
---|---|---|
{{console version}} |
Console version | |
{{console version|icon}} |
Identical to {{icon/console}} .
| |
{{console version|text}} |
Console version | |
{{console version|short=y}} |
Console | Identical to {{console version|short}} .
|
{{console version|text|short=y}} |
Console | |
{{console version|t=sometext}} |
sometext | Custom display text. |
{{console version|nl=y}} |
Console version | No link. |
{{console version|text|nl=y}} |
Console version | No link. |
{{console version|short=y|nl=y}} |
Console | No link. |
{{console version|glue=-}} |
-Console version | |
{{console version|scale=2}} |
Console version | See {{icon/console}}. |
{{console version|icon|small=y}} |
See {{icon/console}}. |