模板:Info:修订间差异

添加1,336字节 、​ 2022年7月13日 (星期三)
无编辑摘要
(// Edit via Wikiplus)
无编辑摘要
| #default = [[Category:页顶提示模板]] }}|}}</includeonly><noinclude>
{{Documentation}}
[[分类:元模板]]</noincludetemplatedata>
{
"params": {
"text": {
"aliases": [
"1",
"content"
],
"label": "内容",
"type": "content",
"required": true
},
"title": {
"label": "标题",
"type": "content"
},
"width": {
"label": "宽度",
"type": "string",
"default": "80%"
},
"color": {
"label": "左边框颜色",
"type": "string",
"default": "#1e90ff"
},
"text-style": {
"label": "文本样式",
"type": "string"
},
"backgroundColor": {
"label": "背景颜色",
"type": "string"
},
"below": {
"label": "页脚",
"type": "content"
},
"leftimage": {
"label": "左侧图标",
"type": "content",
"default": "[[image:Icon-info.png|50px|link=]]"
},
"smallimage": {
"label": "图标大小",
"type": "string",
"default": "50px"
},
"class": {
"label": "类名",
"type": "string"
},
"type": {
"label": "模板类型",
"description": "可以是:top / middle / none"
},
"title-style": {
"label": "标题样式",
"type": "string"
},
"icon-style": {
"label": "图标样式",
"type": "string"
},
"content-style": {
"label": "内容样式",
"type": "string"
},
"below-style": {
"label": "页脚样式",
"type": "string"
}
},
"description": "消息提示框",
"format": "block"
}
</templatedata></noinclude>