Modèle:Console version

De Terraria Wiki
Aller à : navigation, rechercher

Version Console Version Console

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.
Template-info.svg Documentation La documentation ci-dessous est transcluse de Modèle:Console version/doc. (modifier | historique)

An all-in-one template for display Console version link/text.

When a simple icon isn't enough, used to mark content as 'Console Only' within a sentence or paragraph. (see Template:Exclusive to mark Console exclusive pages or sections)

The "short" parameter value can be used to display "Console" rather than "Console version".

Usage

{{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. {{Console version|short=y}} has the same effect as {{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
{{Console version}} Version Console Version Console
{{Console version|icon}} Version Console same as {{icon|console}}
{{Console version|text}} Version Console
{{Console version|short}} Version Console Console
{{Console version|text|short=y}} Console
{{Console version|short=y}} Version Console Console same as {{Console version|short}}
{{Console version|t=sometext}} Version Console sometext customize display text
{{Console version|nl=y}} Version Console Version Console No link.
{{Console version|text|nl=y}} Version Console No link.
{{Console version|short|nl=y}} Version Console Console No link.
{{Console version|glue=-}} Version Console-Version Console
{{Console version|scale=2}} Version Console Version Console see {{icon}}
{{Console version|icon|small=y}} Version Console see {{icon}}