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