Modèle:Old-gen console version/doc
An all-in-one template for display Old-gen console version link/text.
When a simple icon isn't enough, used to mark content as 'Old-gen console Only' within a sentence or paragraph. (see Template:Exclusive to mark Old-gen console exclusive pages or sections)
The "short" parameter value can be used to display "Old-gen console" rather than "Old-gen console version".
Usage
{{Old-gen console version|MODE|nl/nolink=y|short=y|glue= |t=display text}}
- unnamed parameter 1
Output mode, can be icon/text/short:
- icon: output icon only.
- text: output text only.
- short: output icon and short text.
- nl/nolink=y/yes
Only output icon and/or text, don't make them be links.
- short=y/yes
Output short text. {{Old-gen console version|short=y}}
has the same effect as {{Old-gen console version|short}}
- t=display text
Customize text. Will override short=y, have no effect when mode=icon.
- glue=
Customize the glue text between icon and text. default is
- size, width, height, scale, small
Customize icon display, see {{icon}} for detail.
example
code | output | note |
---|---|---|
{{Old-gen console version}} | Version Console old-gen | |
{{Old-gen console version|icon}} | same as {{icon|old-gen}}
| |
{{Old-gen console version|text}} | Version Console old-gen | |
{{Old-gen console version|short}} | Console old-gen | |
{{Old-gen console version|text|short=y}} | Console old-gen | |
{{Old-gen console version|short=y}} | Console old-gen | same as {{Old-gen console version|short}}
|
{{Old-gen console version|t=sometext}} | sometext | customize display text |
{{Old-gen console version|nl=y}} | Version Console old-gen | No link. |
{{Old-gen console version|text|nl=y}} | Version Console old-gen | No link. |
{{Old-gen console version|short|nl=y}} | Console old-gen | No link. |
{{Old-gen console version|glue=-}} | -Version Console old-gen | |
{{Old-gen console version|scale=2}} | Version Console old-gen | see {{icon}} |
{{Old-gen console version|icon|small=y}} | see {{icon}} |