模板:Default:修订间差异
来自Limbo Wiki
小无编辑摘要 |
小无编辑摘要 |
||
第1行: | 第1行: | ||
<includeonly><table class="wikitable {{{class|}}}" style="border-left: 10px solid {{{color|#1e90ff}}};"><tr> | <includeonly><div style="margin: 0 auto;width: 80%;"><table class="wikitable {{{class|}}}" style="border-left: 10px solid {{{color|#1e90ff}}};"><tr> | ||
<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|}}}"><div style="font-size:1.1em">{{{text|'''警告:你还没有添加内容!'''}}}</div></td> | <tr><td style="{{#if:{{{backgroundColor}}}|background-color:{{{backgroundColor}}};}}{{{content-style|}}}"><div style="font-size:1.1em">{{{text|'''警告:你还没有添加内容!'''}}}</div></td> | ||
{{#if:{{{below|}}}|<tr><td style="font-size:0.8em;{{#if:{{{backgroundColor}}}|background-color:{{{backgroundColor}}};}}{{{below-style|}}}">{{{below}}}</td></tr>}}</table></includeonly> | {{#if:{{{below|}}}|<tr><td style="font-size:0.8em;{{#if:{{{backgroundColor}}}|background-color:{{{backgroundColor}}};}}{{{below-style|}}}">{{{below}}}</td></tr>}}</table></div></includeonly> | ||
<noinclude>{{Default|title=改编模板|text=该模板的设计参考自[https://www.mediawiki.org/wiki/Template:PD_Help_Page/zh MediaWiki的公有领域帮助页面模板],参数名参考自[https://zh.moegirl.org.cn/Template:Info 萌娘百科的Info模板]。|color=green|backgroundColor=#DDFFDD}} | <noinclude>{{Default|title=改编模板|text=该模板的设计参考自[https://www.mediawiki.org/wiki/Template:PD_Help_Page/zh MediaWiki的公有领域帮助页面模板],参数名参考自[https://zh.moegirl.org.cn/Template:Info 萌娘百科的Info模板]。|color=green|backgroundColor=#DDFFDD}} | ||
模板使用方法: | 模板使用方法: |
2022年1月24日 (一) 06:39的版本
改编模板 | |
该模板的设计参考自MediaWiki的公有领域帮助页面模板,参数名参考自萌娘百科的Info模板。 |
模板使用方法:
{{Default
|color=<颜色条颜色,默认#1e90ff>
|title=<题目>
|title-style=<题目风格>
|backgroundColor=<背景颜色>
|text=<文字内容>
}}
例子:
题目 | |
123 |
|
456 |