240
个编辑
imported>=海豚= ([InPageEdit] 没有编辑摘要) |
(( ̄▽ ̄)) |
||
(未显示2个用户的25个中间版本) | |||
第1行: | 第1行: | ||
<div class="nomobile infoBox infoBoxx" style="width:{{{width|}}};{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}"><div class="{{{class|infoBoxContent new}}}" style="border-left: 9.7px solid {{{color|#1e90ff}}};{{#if:{{{backgroundColor|}}}|border-color:{{{backgroundColor}}};background-color:{{{backgroundColor}}};"}}> | |||
{{#if:{{{title|}}}|<div class="infoBoxTitle" style="{{{title-style|}}}">{{{title}}}</div>}}<div class="infoBoxIcon" style="{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}{{{icon-style|}}}">{{{leftimage|[[File:Icon-info.png|50px|link=]]}}}</div><div class="infoBoxText" style="{{{text-style|}}}">{{{text|{{{1|'''警告!你还没有添加任何内容'''}}}}}}</div>{{#if:{{{below|}}}|<div class="infoBoxBelow" style="{{{below-style|}}}">{{{below}}}</div>}} | |||
<div class="nomobile infoBox | |||
{{#if:{{{title|}}}|<div class="infoBoxTitle" style="{{{title-style|}}}">{{{title}}}</div>}}<div class="infoBoxIcon" style="{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}{{{icon-style|}}}">{{{leftimage|[[ | |||
</div></div> | </div></div> | ||
<div class="mobileonly" style="width:100%;{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}"><div class="{{{class| | <div class="mobileonly" style="width:100%;{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}"><div class="{{{class|infoBoxOrange}}}" style="border-left: 10px solid {{{color|#1e90ff}}};{{#if:{{{backgroundColor|}}}|border-color:{{{backgroundColor}}};background-color:{{{backgroundColor}}};"}}> | ||
{{#if:{{{title|}}}|<div class="infoBoxTitle" style="{{{title-style|}}}">{{{title}}}</div>}}<div class="infoBoxIcon" style="{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}{{{icon-style|}}}"></div><div class="infoBoxText" style="{{{text-style|}}}">{{{text|{{{1|'''警告!你还没有添加任何内容'''}}}}}}</div>{{#if:{{{below|}}}|<div class="infoBoxBelow" style="{{{below-style|}}}">{{{below}}}</div>}} | {{#if:{{{title|}}}|<div class="infoBoxTitle" style="{{{title-style|}}}">{{{title}}}</div>}}<div class="infoBoxIcon" style="{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}{{{icon-style|}}}"></div><div class="infoBoxText" style="{{{text-style|}}}">{{{text|{{{1|'''警告!你还没有添加任何内容'''}}}}}}</div>{{#if:{{{below|}}}|<div class="infoBoxBelow" style="{{{below-style|}}}">{{{below}}}</div>}} | ||
</div></div> | </div></div> | ||
{{ | <noinclude>{{doc}} | ||
< | ---- | ||
{{ | <center><templatedata> | ||
{ | |||
"params": { | |||
"1": { | |||
"description": "提示的内容", | |||
"suggested": true, | |||
"type": "content", | |||
"autovalue": "", | |||
"default": "警告!你还没有添加任何内容" | |||
}, | |||
"color": { | |||
"description": "左边缘竖线颜色", | |||
} | "default": "#1e90ff" | ||
}, | |||
"fontcolor": { | |||
"description": "文字颜色", | |||
"default": "#E6B800" | |||
}, | |||
"size": { | |||
"description": "图片大小", | |||
"type": "number", | |||
"default": "50px" | |||
}, | |||
{ | "title": { | ||
"description": "标题", | |||
"type": "content" | |||
}, | |||
"title-style": { | |||
"description": "标题样式" | |||
}, | |||
"icon-style": { | |||
"description": "图片样式" | |||
}, | |||
}} | "text-style": { | ||
"description": "内容样式" | |||
}, | |||
{ | "text": { | ||
"description": "提示 的 内容", | |||
"type": "content" | |||
}, | |||
"backgroundColor": { | |||
"description": "背景颜色", | |||
"default": "rgba(255,255,245)" | |||
}, | |||
"leftimage": { | |||
"description": "选用 的 图片", | |||
"type": "wiki-file-name", | |||
"default": "[[image:Icon-info.png|50px|link=]]" | |||
}, | |||
"width": { | |||
"type": "number" | |||
}, | |||
"class": {}, | |||
"below": {}, | |||
"below-style": {} | |||
}, | |||
"description": "页顶提示 框模板", | |||
"paramOrder": [ | |||
"1", | |||
"color", | |||
"backgroundColor", | |||
"leftimage", | |||
"fontcolor", | |||
"size", | |||
"title", | |||
"title-style", | |||
"icon-style", | |||
"text-style", | |||
"text", | |||
"width", | |||
"class", | |||
"below", | |||
"below-style" | |||
] | |||
} | |||
</templatedata></center></noinclude> |
个编辑