模板:Default:修订间差异
来自Limbo Wiki Mirror
|  修好了! | 无编辑摘要 | ||
| 第4行: | 第4行: | ||
| {{#if:{{{title|}}}|<div class="infoBoxTitle" style="{{{title-style|}}}">{{{title}}}</div>}}<div class="infoBoxIcon" style="{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}{{{icon-style|}}}">{{{leftimage|[[文件:Icon-info.png|{{#if:{{{smallimage|}}}|25px|50px}}|link=]]}}}</div><div class="infoBoxText" style="{{{text-style|}}}{{{content-style|}}}">{{{text|{{{content|{{{1|'''警告!你还没有添加任何内容'''}}}}}}}}} | {{#if:{{{title|}}}|<div class="infoBoxTitle" style="{{{title-style|}}}">{{{title}}}</div>}}<div class="infoBoxIcon" style="{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}{{{icon-style|}}}">{{{leftimage|[[文件: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>{{#if:{{{below|}}}|<div class="infoBoxBelow" style="{{{below-style|}}}">{{{below}}}</div>}} | ||
| </div> | |||
| </div> | </div> | ||
| </includeonly> | </includeonly> | ||
| 第22行: | 第23行: | ||
| |backgroundColor=#ffff11 | |backgroundColor=#ffff11 | ||
| |content=123 | |content=123 | ||
| |below=456 | |||
| }} | }} | ||
| </noinclude> | </noinclude> | ||
2021年10月31日 (日) 18:30的版本
模板使用方法:
{{Default
|color:<颜色条颜色,默认#1e90ff>
|title:<题目>
|title-style:<题目风格>
|backgroundColor:<背景颜色>
|content:<文字内容>
}}
例子:
题目

123
456
