模板:Default:修订间差异

来自Limbo Wiki
无编辑摘要
无编辑摘要
 
(未显示4个用户的15个中间版本)
第1行: 第1行:
<includeonly><table class="wikitable {{{class|}}}"><tr>
<includeonly><table class="infobox {{{class|}}}" style="border-color:{{{color|#1e90ff}}};{{#if:{{{backgroundColor}}}|background-color:{{{backgroundColor}}};}}{{{table-style|}}}">
<th style="background-color:{{{color|#1e90ff}}}" rowspan="3"></th>
<td class="icon-cell" rowspan="3" style="width:40px;{{{icon-style|}}}"><div
<th class="icon-cell" rowspan="3" style="{{{icon-style|}}}">{{{leftimage|[[File:Icon-info.png|50px|link=]]}}}</th>
style=width:50px;>{{{leftimage|[[File:Icon-info.png|50px|link=]]}}}</div></td><td>
{{#if:{{{title|}}}|<td style="{{{title-style|}}};{{#if:{{{backgroundColor}}}|background-color:{{{backgroundColor}}};}}">{{{title}}}</td></tr>}}
{{#if:{{{title|}}}|<div style="{{{title-style|}}};">'''{{{title}}}'''</div>}}
<tr><td style="{{#if:{{{backgroundColor}}}|background-color:{{{backgroundColor}}};}}{{{content-style|}}}"><div style="font-size:1.1em">{{{text|'''警告:你还没有添加内容!'''}}}</div></td>
<div style="{{{content-style|}}}">{{{text|<span style=color:red>警告:你还没有添加内容!</span>}}}</div>
{{#if:{{{below|}}}|<tr><td style="font-size:0.8em;{{#if:{{{backgroundColor}}}|background-color:{{{backgroundColor}}};}}{{{below-style|}}}">{{{below}}}</td></tr>}}</table></includeonly>
{{#if:{{{below|}}}|<div style="font-size:0.8em;{{{below-style|}}}">{{{below}}}</div>}}</td></table></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}}
模板使用方法:
模板使用方法:
</br>
</br>
<nowiki>
<pre>
{{Default
{{Default
|color=<颜色条颜色,默认#1e90ff>
|color=<颜色条颜色,默认#1e90ff>
第16行: 第16行:
|text=<文字内容>
|text=<文字内容>
}}
}}
</pre>
例子:
例子:
</nowiki>
{{Default
{{Default
|title=题目
|title=题目
|backgroundColor=#ffff11
|backgroundColor=#ffff88
|text=123
|text=正文
|below=456
|below=附言
}}</noinclude>
}}
 
{{Template Family}}
</noinclude>

2022年9月3日 (六) 10:38的最新版本

Icon-info.png
改编模板
该模板的设计参考自MediaWiki的公有领域帮助页面模板,参数名参考自萌娘百科的Info模板

模板使用方法:

{{Default
|color=<颜色条颜色,默认#1e90ff>
|title=<题目>
|title-style=<题目风格>
|backgroundColor=<背景颜色>
|text=<文字内容>
}}

例子:

Icon-info.png
题目
正文
附言


模板大家族
顶部模板 林泊现实官方林泊百科保护) • 碎数研谜题保管所不完整待完善过时欢迎编辑长期咕咕警告访谈诈骗
互动 非存档 主动 TreeButton (折叠按钮) • Title (标题替换)
被动 TreeDiv (折叠内容) • TreeSpan / TreeSpan/s (带格式折叠内容)
书签存档 AnchorCore (锚点) • AnchorDiv (锚点文本)
伪模板 Hide (简单型折叠文本)
字体 Color文字颜色) • Gradient Text渐变文字) • Ruby注音zhu yin) • Shadowcolor阴影颜色) • 文字描边文字描边文字描边) • 模糊模糊) • 黑幕黑幕) • 荧光笔荧光笔