这是林泊百科的迁移技术测试站点,所有改动不会同步到林泊百科上,此站点将会在正式迁移后关闭,请勿存放重要数据

模板:Default:修订间差异

来自Limbo Wiki
跳转到导航 跳转到搜索
Sam0324留言 | 贡献
无编辑摘要
Sam0324留言 | 贡献
?
第2行: 第2行:
<table class="wikitable {{{class|}}}"><tr>
<table class="wikitable {{{class|}}}"><tr>
<th style="background-color:{{{color|#1e90ff}}}" rowspan="3"><nowiki></nowiki></th>
<th style="background-color:{{{color|#1e90ff}}}" rowspan="3"><nowiki></nowiki></th>
<th class="icon-cell" rowspan="3" style="{{{icon-style|}}}">{{{leftimage|[[File:Icon-info.png|50px|link=]]}}}</th>
<th class="icon-cell" rowspan="3" style="{{{icon-style|}}}">{{{leftimage|[[File:Icon-info.png|50px|link=]]}}}</th>
{{#if:{{{title|}}}|<td style="{{{title-style|}}};{{#if:{{{backgroundColor}}}|background-color:{{{backgroundColor}}};}}">{{{title}}}</td></tr>}}
{{#if:{{{title|}}}|<td style="{{{title-style|}}};{{#if:{{{backgroundColor}}}|background-color:{{{backgroundColor}}};}}">{{{title}}}</td></tr>}}
<tr><td style="{{#if:{{{backgroundColor}}}|background-color:{{{backgroundColor}}};}}{{{content-style|}}}">{{{text|<div style="font-size:1.1em">'''警告:你还没有添加内容!'''</div>}}}</td>
<tr><td style="{{#if:{{{backgroundColor}}}|background-color:{{{backgroundColor}}};}}{{{content-style|}}}">{{{text|<div style="font-size:1.1em">'''警告:你还没有添加内容!'''</div>}}}</td>
{{#if:{{{below|}}}|<tr><td style="font-size:0.8em;{{#if:{{{backgroundColor}}}|background-color:{{{backgroundColor}}};}}{{{below-style|}}}">{{{below}}}</td></tr>}}
{{#if:{{{below|}}}|<tr><td style="font-size:0.8em;{{#if:{{{backgroundColor}}}|background-color:{{{backgroundColor}}};}}{{{below-style|}}}">{{{below}}}</td></tr>}}
</table>
</table>
</includeonly>
</includeonly>

2021年11月7日 (日) 09:59的版本


模板使用方法:
{{Default |color:<颜色条颜色,默认#1e90ff> |title:<题目> |title-style:<题目风格> |backgroundColor:<背景颜色> |text:<文字内容> }} 例子:

题目
123
456