模板:Info:修订间差异
来自光圈共享
更多操作
Delaying Bahn(留言 | 贡献) 创建页面 |
Delaying Bahn(留言 | 贡献) 小无编辑摘要 |
||
| (未显示同一用户的1个中间版本) | |||
| 第1行: | 第1行: | ||
<includeonly><div class="infoBox {{{class|}}}" style="{{#ifeq:{{{type|}}}|middle|display:flow-root;}}{{#switch:{{{type|none}}}|middle|none={{#if:{{{width|}}}|width:{{{width}}};}}}}max-width:100%;border-left: 10px solid {{{color|#1e90ff}}};"><div class="infoBoxContent" {{#if:{{{backgroundColor|}}}|style="border-color:{{{backgroundColor}}};background-color:{{{backgroundColor}}};"}}>{{#if:{{{title|}}}|<div class="infoBoxTitle" style="{{{title-style|}}}">{{{title}}}</div>}}<div class="infoBoxIcon" style="{{{icon-style|}}}">[[文件:{{{leftimage|Icon-info.png|{{#if:{{{smallimage|}}}|25px|50px}}|link=}}}|link=]]</div><div class="infoBoxText" style="{{{text-style|}}}{{{content-style|}}}">{{{text|{{{content|{{{1|'''警告!你还没有添加任何内容'''}}}}}}}}}</div>{{#if:{{{below|}}}|<div class="infoBoxBelow" style="{{{below-style|}}}">{{{below}}}</div>}}</div></div><templatestyles src="Info/styles.css" /> | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
| 第13行: | 第13行: | ||
"title-style": {}, | "title-style": {}, | ||
"icon-style": {}, | "icon-style": {}, | ||
"leftimage": {}, | "leftimage": { | ||
"label": "图片", | |||
"type": "wiki-file-name" | |||
}, | |||
"smallimage": {}, | "smallimage": {}, | ||
"text-style": {}, | "text-style": {}, | ||