Template:Info/doc
模板页面
更多语言
更多操作
| 无视风险继续使用 |
|---|
效果预览不填写任何参数时,效果如下。 警告!你还没有添加任何内容
简要说明
完整参数{{info
|width=
|color=
|backgroundColor=
|leftimage=
|icon-style=
|smallimage=
|title=
|title-style=
|text=
|text-style=
|below=
|below-style=
|class=
|type=
}}
参数解析{{info
|width = <!-- 模板宽度,默认为80% -->
|color = <!-- 左侧竖条颜色,默认为 #1e90ff -->
|backgroundColor = <!-- 背景颜色,默认为 #fbfbfb -->
|leftimage = <!-- 左侧图标,默认为 [[image:Icon-info.png|50px|link=]],会覆盖参数{{{smallimage}}}-->
|icon-style = <!-- 图标样式 -->
|smallimage = <!-- 图标大小。参数值不为空时,图标大小为25px,否则为50px -->
|title = <!-- 标题内容 -->
|title-style = <!-- 标题样式,格式为行内样式(inline style),如 color: red; font-style: italic; -->
|text = <!-- 文本内容,等效于{{{content}}}和{{{1}}} -->
|text-style = <!-- 文本样式,等效于{{{content-style}}} -->
|below = <!-- 底部内容 -->
|below-style = <!-- 底部样式 -->
|class = <!-- 模板额外class -->
|type = <!-- 模板类型,仅供模板页使用:top为【页顶提示模板】,middle为【页中提示模板】,none为没有分类;在模板页中默认为页顶提示模板,非模板页中默认为没有分类 -->
}}
|