Terraria Wiki
Advertisement

前代主机版前代主机版

Template-info.svg 文档 以下文档内容来自模板:Old-gen console version/doc。 (edit | history)

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 {{Old-gen console icon}} for detail.

example

code output note
{{Old-gen console version}} 前代主机版前代主机版
{{Old-gen console version|icon}} 前代主机版 same as {{Old-gen console icon}}
{{Old-gen console version|text}} 前代主机版
{{Old-gen console version|short}} 前代主机版前代主机版
{{Old-gen console version|text|short=y}} 前代主机版
{{Old-gen console version|short=y}} 前代主机版前代主机版 same as {{Old-gen console version|short}}
{{Old-gen console version|t=sometext}} 前代主机版sometext customize display text
{{Old-gen console version|nl=y}} 前代主机版 前代主机版 No link.
{{Old-gen console version|text|nl=y}} 前代主机版 No link.
{{Old-gen console version|short|nl=y}} 前代主机版 前代主机版 No link.
{{Old-gen console version|glue=-}} 前代主机版-前代主机版
{{Old-gen console version|scale=2}} 前代主机版前代主机版 see {{Old-gen console icon}}
{{Old-gen console version|icon|small=y}} 前代主机版 see {{Old-gen console icon}}
Advertisement