Template:Japanese console version

From Terraria Wiki
Jump to: navigation, search

Japanese Console version Japanese Console version

This template is i18n-ready, which means it is easy to localize for different languages. Please see I18n & l10n for Templates to learn more.
Template-info.svg Documentation The documentation below is transcluded from Template:Japanese console version/doc. (edit | history)

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

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

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

Usage[edit source]

{{Japanese 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. {{Japanese console version|short=y}} has the same effect as {{Japanese 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[edit source]

code output note
{{Japanese console version}} Japanese Console version Japanese Console version
{{Japanese console version|icon}} Japanese Console version same as {{icon|japan}}
{{Japanese console version|text}} Japanese Console version
{{Japanese console version|short}} Japanese Console version Japanese Console
{{Japanese console version|text|short=y}} Japanese Console
{{Japanese console version|short=y}} Japanese Console version Japanese Console same as {{Japanese console version|short}}
{{Japanese console version|t=sometext}} Japanese Console version sometext customize display text
{{Japanese console version|nl=y}} Japanese Console version Japanese Console version No link.
{{Japanese console version|text|nl=y}} Japanese Console version No link.
{{Japanese console version|short|nl=y}} Japanese Console version Japanese Console No link.
{{Japanese console version|glue=-}} Japanese Console version-Japanese Console version
{{Japanese console version|scale=2}} Japanese Console version Japanese Console version see {{icon}}
{{Japanese console version|icon|small=y}} Japanese Console version see {{icon}}