模板:Default:修订间差异

来自Limbo Wiki
无编辑摘要
无编辑摘要
 
(未显示4个用户的27个中间版本)
第1行: 第1行:
<includeonly>
<includeonly><table class="infobox {{{class|}}}" style="border-color:{{{color|#1e90ff}}};{{#if:{{{backgroundColor}}}|background-color:{{{backgroundColor}}};}}{{{table-style|}}}">
:<div class="infoBox {{{class|}}}" style="{{#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}}};"}}>
<td class="icon-cell" rowspan="3" style="width:40px;{{{icon-style|}}}"><div
{{#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>}}
style=width:50px;>{{{leftimage|[[File:Icon-info.png|50px|link=]]}}}</div></td><td>
</div>
{{#if:{{{title|}}}|<div style="{{{title-style|}}};">'''{{{title}}}'''</div>}}
<includeonly>
<div style="{{{content-style|}}}">{{{text|<span style=color:red>警告:你还没有添加内容!</span>}}}</div>
{{#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}}
模板使用方法:
</br>
<pre>
{{Default
|color=<颜色条颜色,默认#1e90ff>
|title=<题目>
|title-style=<题目风格>
|backgroundColor=<背景颜色>
|text=<文字内容>
}}
</pre>
 
例子:
{{Default
|title=题目
|backgroundColor=#ffff88
|text=正文
|below=附言
}}
 
{{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阴影颜色) • 文字描边文字描边文字描边) • 模糊模糊) • 黑幕黑幕) • 荧光笔荧光笔