Template:Userbox
来自Valve Developer Community
跳转到导航
跳转到搜索

文档页面 Template:Userbox/doc/zh 不存在。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。
This is a meta template used to aid in the creation of userbox templates.
For the list of predefined userbox templates which uses this template, see Category:Userbox Templates.
Copy and Paste
{{Userbox
| info =
| info-s =
| id =
| id-s =
}}
Usage, Parameters and Examples
{{Userbox}}
参数 | 描述 | 示例 | 预览 |
---|---|---|---|
No parameters | Template will revert to the default valves specified within the {{#switch}} parser functions. | {{Userbox}} |
id
info |
{{{border-c}}} | Userbox border color | | border-c = red |
id
info |
{{{border-w}}} | Userbox border width ![]() |
| border-w = 3px |
id
info |
{{{info}}} | Infobox content | | info = Hello, World! |
id
Hello, World! |
{{{info-s}}} | Infobox styling | | info-s = background:#222; |
id
info |
{{{id}}} | Idbox content | | id = [[File:Earth.gif|link=]] |
![]() info |
{{{id-s}}} | Idbox styling | | id-s = background:indigo; |
id
info |
{{{type}}} | Predefined styling for the entire userbox | | type = black |
id
info |
Available Types
{{Userbox|type=black}} {{Userbox|type=pink}} {{Userbox|type=ClearBlack}}
id
info
id
info
id
info