Minecraft Wiki

除另有声明,转载时均必须注明出处若簡繁轉換出錯,請以遊戲內為準请勇于扩充与修正内容有兴趣逛逛我们的微博沟通交流,欢迎到社区专页需要协助,请在告示板留言

了解更多

Minecraft Wiki
(以“{{Documentation header}} Used to create text on signs. == Usage == <pre>{{sign|First Line|Second Line|Third Line|Fourth Line}}</pre> gives: {{sign|First Line|Se...”为内容创建页面)
 
(// Edit via InPageEdit)
 
(未显示另一用户的1个中间版本)
第1行: 第1行:
 
{{Documentation header}}
 
{{Documentation header}}
Used to create text on [[sign]]s.
+
Used to create text on signs.
   
 
== Usage ==
 
== Usage ==
第68行: 第68行:
 
}}
 
}}
 
<includeonly>
 
<includeonly>
[[Category:Image templates]]
+
[[Category:图片模板]]
 
</includeonly>
 
</includeonly>

2020年5月14日 (四) 16:22的最新版本

这是文档页面,它应该被放置到User:Kakagou12341/tSign,查看Template:Documentation以获取更多信息。

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