テンプレート:Sign

提供: Minecraft Wiki
移動先: 案内検索

Used to create text on signs.

Usage[ソースを編集]

{{sign|First Line|Second Line|Third Line|Fourth Line}}

gives:

Blank Sign.png
First Line
Second Line
Third Line
Fourth Line


As necessary, the number of lines can be truncated, such that

{{sign|First Line}}

gives:

Blank Sign.png
First Line


To omit text from only one line, while including text in all others, you may simply omit the text, but you must include the correct delineation. For example

{{sign|First Line||Third Line|Fourth Line}}

gives:

Blank Sign.png
First Line
Third Line
Fourth Line


You can also add color to the sign, using any standard hexadecimal color codes, RGB/RGBA colors or color names. For example:

{{sign
|Blue Line  |color1=blue
|Red Line   |color2=#FF0000
|Black Line
|Green Line |color4=rgb(0,255,0)
}}

gives:

Blank Sign.png
Blue Line
Red Line
Black Line
Green Line
{{sign
|color=yellow
|This text is
|all yellow
|(except this) |color3=purple
|cool, huh?
}}

gives:

Blank Sign.png
This text is
all yellow
(except this)
cool, huh?


A stand can be added by putting anything in the stand parameter.

{{sign
|stand=yes
|Standing signs
|sure are
|
|FUN!
}}

gives:

Blank Sign.png
Standing signs
sure are
FUN!
Sign stand.png
[閲覧 | 編集 | 履歴 | キャッシュ破棄]上記の解説は、テンプレート:Sign/docから参照されています。