Modèle:3DS version

De Terraria Wiki
Aller à la navigation Aller à la recherche

Version Nintendo 3DSVersion Nintendo 3DS

Ce modèle est considéré comme prêt pour i18n, signifiant qu'il est facile à régionaliser pour les différentes langues. Veuillez regarder i18n & l10n pour les modèles (en) pour en apprendre plus.
Voir Modèle:Icon-version/l10n pour la localisation de ce modèle.
Template-info.svg Documentation La documentation ci-dessous est transcluse de Modèle:Common version/doc. (modifier | historique)

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:

  • icon – Display the icon only (see {{icon/3DS}}).
  • text – Display the text only.
  • short – Display the icon and an abbreviated version name.
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 icon as mode.

glue

Set the characters between the icon and the text. Defaults to &nbsp;.

small, size, width, height, scale

Customize the icon display, see {{icon/3DS}} for details.

Examples

Code Result Note
{{3DS version}} Version Nintendo 3DSVersion Nintendo 3DS
{{3DS version|icon}} Version Nintendo 3DS Identical to {{icon/3DS}}.
{{3DS version|text}} Version Nintendo 3DS
{{3DS version|short}} 3DSVersion Nintendo 3DS
{{3DS version|text|short=y}} 3DS
{{3DS version|t=sometext}} 3DSVersion Nintendo 3DS sometext Custom display text.
{{3DS version|short=y}} 3DSVersion Nintendo 3DS Identical to {{3DS version|short}}
{{3DS version|nl=y}} Version Nintendo 3DSVersion Nintendo 3DS No link.
{{3DS version|text|nl=y}} Version Nintendo 3DS No link.
{{3DS version|short|nl=y}} 3DSVersion Nintendo 3DS No link.
{{3DS version|glue=-}} Version Nintendo-3DSVersion Nintendo 3DS
{{3DS version|scale=2}} Version Nintendo 3DSVersion Nintendo 3DS See {{icon/3DS}}.
{{3DS version|icon|small=y}} Version Nintendo 3DS See {{icon/3DS}}.