模板:Info/doc

< 模板:Info
RavenclawOIer(讨论 | 贡献)2020年3月1日 (日) 23:38的版本 (导入1个版本:info)

Meta template for creating a variety of informational templates. Can also be used on its own.

模板参数

此模板首选参数换行的代码块格式。

参数描述类型状态
text1text

Text to be placed within the main body.

示例值
Hi, this is a info box!
字符串必需
widthwidth

width of the template. Use CSS units; % often used.

默认值
80%
示例值
100px, 50%;
字符串可选
colorcolor

Color of the left bar. Use CSS color.

默认值
#1e90ff
示例值
red, #6527CB, rgb(245,135,38) (rgba not recommended)
字符串可选
leftimageleftimage

An image to be placed to the left of the info box. Internal file link recommended, although external URL could be accepted.

默认值
[[image:Icon-info.png|50px|link=]]
示例值
[[image:Disambig gray.svg|50px|link=]]
文件推荐
text-styletext-style

Additional text styles, applicable to the text argument.

字符串可选