User:弃权者/Template:少女前线信息:修订间差异
来自OGAS数据中枢
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
<includeonly> | <includeonly><templatestyles src="User:弃权者/Template:少女前线信息/styles.css" /> | ||
<templatestyles src="User:弃权者/Template:少女前线信息/styles.css" /> | <div class="gf-infobox-wrap"> | ||
<div class="gf-infobox"> | {{!}}-- ══ 左侧立绘区 ══ --}} | ||
<div class="gf-infobox-left"> | |||
{{#if:{{{立绘1|}}}| | |||
<div class="gf-illust-switcher"> | |||
<!-- | <!-- Radio 状态机:name 用 SUBPAGENAME 隔离,同页多框互不干扰 --> | ||
< | <input type="radio" class="gf-radio" name="gf-illust-{{SUBPAGENAME}}" id="gf-tab-{{SUBPAGENAME}}-1" checked="checked" /> | ||
{{#if:{{{立绘2|}}}|<input type="radio" class="gf-radio" name="gf-illust-{{SUBPAGENAME}}" id="gf-tab-{{SUBPAGENAME}}-2" />}} | |||
{{#if:{{{立绘3|}}}|<input type="radio" class="gf-radio" name="gf-illust-{{SUBPAGENAME}}" id="gf-tab-{{SUBPAGENAME}}-3" />}} | |||
{{#if:{{{立绘4|}}}|<input type="radio" class="gf-radio" name="gf-illust-{{SUBPAGENAME}}" id="gf-tab-{{SUBPAGENAME}}-4" />}} | |||
{{#if:{{{立绘5|}}}|<input type="radio" class="gf-radio" name="gf-illust-{{SUBPAGENAME}}" id="gf-tab-{{SUBPAGENAME}}-5" />}} | |||
<div class="gf- | <div class="gf-illust-slides"> | ||
{{#if:{{{立绘1|}}}|<div class="gf-illust-slide gf-slide-1">[[Image:{{{立绘1}}}|270px|link=]]{{#if:{{{立绘1说明|}}}|<div class="gf-illust-caption">{{{立绘1说明}}}</div>}}</div>}} | |||
{{#if:{{{立绘2|}}}|<div class="gf-illust-slide gf-slide-2">[[Image:{{{立绘2}}}|270px|link=]]{{#if:{{{立绘2说明|}}}|<div class="gf-illust-caption">{{{立绘2说明}}}</div>}}</div>}} | |||
{{#if:{{{立绘3|}}}|<div class="gf-illust-slide gf-slide-3">[[Image:{{{立绘3}}}|270px|link=]]{{#if:{{{立绘3说明|}}}|<div class="gf-illust-caption">{{{立绘3说明}}}</div>}}</div>}} | |||
{{#if:{{{立绘4|}}}|<div class="gf-illust-slide gf-slide-4">[[Image:{{{立绘4}}}|270px|link=]]{{#if:{{{立绘4说明|}}}|<div class="gf-illust-caption">{{{立绘4说明}}}</div>}}</div>}} | |||
{{#if:{{{立绘5|}}}|<div class="gf-illust-slide gf-slide-5">[[Image:{{{立绘5}}}|270px|link=]]{{#if:{{{立绘5说明|}}}|<div class="gf-illust-caption">{{{立绘5说明}}}</div>}}</div>}} | |||
</div> | |||
< | {{#if:{{{立绘2|}}}| | ||
<div class="gf-illust-tabs"> | |||
<label class="gf-illust-tab gf-tab-1" for="gf-tab-{{SUBPAGENAME}}-1">{{{立绘1说明|常态}}}</label> | |||
{{#if:{{{立绘2|}}}|<label class="gf-illust-tab gf-tab-2" for="gf-tab-{{SUBPAGENAME}}-2">{{{立绘2说明|立绘2}}}</label>}} | |||
{{#if:{{{立绘3|}}}|<label class="gf-illust-tab gf-tab-3" for="gf-tab-{{SUBPAGENAME}}-3">{{{立绘3说明|立绘3}}}</label>}} | |||
{{#if:{{{立绘4|}}}|<label class="gf-illust-tab gf-tab-4" for="gf-tab-{{SUBPAGENAME}}-4">{{{立绘4说明|立绘4}}}</label>}} | |||
{{#if:{{{立绘5|}}}|<label class="gf-illust-tab gf-tab-5" for="gf-tab-{{SUBPAGENAME}}-5">{{{立绘5说明|立绘5}}}</label>}} | |||
</div> | |||
}} | |||
{{# | </div> | ||
|{{#if:{{{image|}}}| | |||
| | <div class="gf-illust-single">[[Image:{{{image}}}|270px|link=]]{{#if:{{{图片说明|}}}|<div class="gf-illust-caption">{{{图片说明}}}</div>}}</div> | ||
| | | | ||
| | <div class="gf-illust-missing">啊嘞?!<br />怎么回事<br />这个妹子怎么没有头的样子……{{ArticleCategory|无设定图}}</div> | ||
}}}} | |||
}} | </div> | ||
{{ | {{!}}-- ══ 右侧信息区 ══ --}} | ||
<div class="gf-infobox-right"> | |||
<div class="gf-infobox-title">{{#switch: 1 | |||
| {{#if:{{{名字|}}}|1|0}} = {{{名字}}} | |||
| {{#if:{{{标题|}}}|1|0}} = {{{标题}}} | |||
| | | {{#if:{{{本名|}}}|1|0}} = {{{本名}}} | ||
| #default = {{SUBPAGENAME}} | |||
}}</div> | |||
<table class="gf-info-table"> | |||
{{#if:{{{ | <tr><th>本名</th><td>{{{本名|}}}</td></tr> | ||
{{ | {{#if:{{{别名|}}}|<tr><th>别名</th><td>{{{别名}}}</td></tr>}} | ||
{{#if:{{{发色|}}}|<tr><th>发色</th><td>{{{发色}}}</td></tr>}} | |||
{{#if:{{{瞳色|}}}|<tr><th>瞳色</th><td>{{{瞳色}}}</td></tr>}} | |||
{{#if:{{{声优|}}}|<tr><th>声优</th><td>{{{声优|}}}{{ArticleCategory|{{{声优}}}配音角色}}</td></tr>}} | |||
{{#if:{{{萌点|}}}|<tr><th>萌点</th><td>{{{萌点}}}</td></tr>}} | |||
{{#if:{{{类型|}}}|<tr><th>类型</th><td>{{#switch:{{{类型|}}} | |||
}} | |手枪=手枪{{ArticleCategory|少女前线:手枪}} | ||
|冲锋枪=冲锋枪{{ArticleCategory|少女前线:冲锋枪}} | |||
{{#if:{{{ | |步枪=步枪{{ArticleCategory|少女前线:步枪}} | ||
|突击步枪=突击步枪{{ArticleCategory|少女前线:突击步枪}} | |||
|机枪=机枪{{ArticleCategory|少女前线:机枪}} | |||
|霰弹枪=霰弹枪{{ArticleCategory|少女前线:霰弹枪}} | |||
|#default={{{类型|}}} | |||
| | }}</td></tr>}} | ||
{{#if:{{{稀有度|}}}|<tr><th>稀有度</th><td>{{#iferror:{{#expr:{{{稀有度|0}}}*1}}|{{{稀有度|}}}|{{#invoke:GF_utils|colored_rarity|{{{稀有度|}}}}}}}</td></tr>}} | |||
}} | {{#if:{{{归属部门|}}}|<tr><th>归属部门</th><td>{{{归属部门}}}</td></tr>}} | ||
{{#if:{{{归属组织|}}}|<tr><th>归属组织</th><td>{{{归属组织}}}</td></tr>}} | |||
{{#if:{{{个人状态|}}}|<tr><th>个人状态</th><td>{{{个人状态}}}</td></tr>}} | |||
{{#if:{{{相关人士|}}}| | |||
<tr><th colspan="2" class="gf-section-header">亲属或相关人</th></tr> | |||
<tr><td colspan="2" class="gf-related">{{{相关人士}}}</td></tr> | |||
}} | |||
</table> | |||
</div> | |||
{{#if:{{{ | |||
< | |||
</ | |||
{{#if:{{{ | |||
< | |||
< | |||
</ | |||
< | |||
}} | |||
{{#if:{{{ | |||
}} | |||
{{#if:{{{ | |||
}} | |||
{{#if:{{{ | |||
| | |||
< | |||
< | |||
</ | |||
< | |||
{{{ | |||
</ | |||
</ | |||
< | |||
< | |||
< | |||
</ | |||
{{#if:{{{ | |||
< | |||
< | |||
< | |||
}} | |||
{{ | |||
{{{类型}}} | |||
</ | |||
</ | |||
}} | |||
{{#if:{{{稀有度|}}}| | |||
< | |||
< | |||
< | |||
{{# | |||
}} | |||
{{# | |||
</ | |||
</ | |||
}} | |||
{{#if:{{{ | |||
< | |||
< | |||
< | |||
{{{ | |||
</ | |||
</ | |||
}} | |||
{{#if:{{{ | |||
< | |||
< | |||
< | |||
{{{ | |||
</ | |||
</ | |||
}} | |||
{{#if:{{{ | |||
< | |||
< | |||
< | |||
{{{ | |||
</ | |||
</ | |||
}} | |||
{{#if:{{{相关人士|}}}| | |||
< | |||
</ | |||
< | |||
{{{相关人士}}} | |||
</ | |||
</ | |||
}} | |||
</div> | |||
</div> | </div> | ||
</includeonly> | </includeonly> | ||