模板:Info:修订间差异

Vup杀百科,专注于为玩家带来更好游戏体验的百科!
跳到导航 跳到搜索
无编辑摘要
无编辑摘要
第1行: 第1行:
<includeonly><div class="infoBox {{{class|}}}" style="{{#ifeq:{{{type|}}}|middle|display:flow-root;}}{{#switch:{{#if:{{{type|}}}|{{{type|}}}|none}}|middle|none={{#if:{{{width|}}}|width:{{{width}}};}}}}max-width:100%;border-left: 10px solid {{{color|#1e90ff}}};{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}"><div class="infoBoxContent" {{#if:{{{backgroundColor|}}}|style="border-color:{{{backgroundColor}}};background-color:{{{backgroundColor}}};"}}>
<includeonly><div class="infoBox {{{class|}}}" style="{{#ifeq:{{{type|}}}|middle|display:flow-root;}}{{#switch:{{#if:{{{type|}}}|{{{type|}}}|none}}|middle|none={{#if:{{{width|}}}|width:{{{width}}};}}}}max-width:100%;border-left: 10px solid {{{color|#1e90ff}}};{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}"><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="{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}{{{icon-style|}}}">{{{leftimage|[[image:Icon-info.png|{{#if:{{{smallimage|}}}|25px|50px}}|link=]]}}}</div><div class="infoBoxText" style="{{{text-style|}}}{{{content-style|}}}">{{{text|{{{content|{{{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|}}}">{{{leftimage|[[image:Icon-info.png|{{#if:{{{smallimage|}}}|25px|50px}}|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>
</div></div>{{TemplateCate|{{#switch:{{{type|}}}
|top=页顶提示模板
|top=页顶提示模板
|middle=页中提示模板
|middle=页中提示模板
|none=
|none=
|#default=页顶提示模板}}}}</includeonly><noinclude>{{萌百|{{FULLPAGENAME}}}}[[分类:模板]]</noinclude>
|#default=页顶提示模板}}}}</includeonly><noinclude>{{萌百|{{FULLPAGENAME}}}}[[分类:模板]]</noinclude>

2022年4月7日 (四) 20:22的版本