“Info”的版本间差异
来自pcdiy_dev
Carrotgeball(讨论 | 贡献) (创建页面,内容为“<!-- https://zh.moegirl.org.cn/index.php?title=Template:Info&action=edit --><includeonly><div class="infoBox {{{class|}}}" style="{{#ifeq:{{{type|}}}|middle|display:…”) |
Carrotgeball(讨论 | 贡献) |
||
第1行: | 第1行: | ||
<!-- | <!-- | ||
− | https:// | + | https://fgo.wiki/index.php?title=Template:Info&action=edit |
− | --><includeonly><div class="infoBox {{{class|}}}" style=" | + | --><includeonly><div class="infoBox {{{class|}}}" style="width:{{{width|80%}}};border-left: 10px solid {{{color|#1e90ff}}};{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}"><div class="infoBoxContent" {{#if:{{{backgroundColor|}}}|style="border-color:{{{backgroundColor}}};background-color:{{{backgroundColor}}};"}}> |
− | {{#if:{{{title|}}}|<div class="infoBoxTitle" style="{{{title-style|}}}">{{{title}}}</div>}}<div class="infoBoxIcon" style="{{{icon-style|}}}">{{{leftimage|[[image:Icon-info.png|{{#if:{{{smallimage|}}}|25px|50px}}|link=]]}}}</div><div class="infoBoxText" style="{{{text | + | {{#if:{{{title|}}}|<div class="infoBoxTitle" style="{{{title-style|}}}">{{{title}}}</div>}}<div class="infoBoxIcon" style="{{#if:{{{backgroundColor|}}}|background-color:{{{backgroundColor}}};}}{{{icon-style|}}}">{{{leftimage|[[image:Icon-info.png|{{#if:{{{smallimage|}}}|25px|50px}}|link=]]}}}</div><div class="infoBoxText" style="{{{text-style|}}}">{{{text|{{{1|'''警告!你还没有添加任何内容'''}}}}}}</div>{{#if:{{{below|}}}|<div class="infoBoxBelow" style="{{{below-style|}}}">{{{below}}}</div>}} |
− | </div></div>{{ | + | </div></div>{{#ifeq:{{NAMESPACENUMBER}}|10|{{#switch:{{{type|}}} |
− | |top=页顶提示模板 | + | | top = [[Category:页顶提示模板]] |
− | |middle=页中提示模板 | + | | middle = [[Category:页中提示模板]] |
− | |none= | + | | none = |
− | |#default=页顶提示模板}}}}</includeonly><noinclude>{{Documentation}}[[分类:元模板]]</noinclude> | + | | #default = [[Category:页顶提示模板]] }}|}}</includeonly><noinclude>{{Documentation}}[[分类:元模板]]</noinclude> |