◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“模板:活动兑换”的版本间的差异
小 |
(将图标大小改为48像素,补充妖精判断,添加设定商品类别单价功能,添加参数别名) |
||
第3行: | 第3行: | ||
|- | |- | ||
!物品!!数量!!单价!!小计 | !物品!!数量!!单价!!小计 | ||
− | {{#if:{{{角色|}}}| | + | {{#if:{{{角色|{{{人形|}}}}}}| |
− | {{#arraymap:{{{角色}}}|;|row|<tr><td>{{小头像|No.{{#explode:row|,|1}}|1}} 特典角色[[{{#explode:row|,|0}}]]</td><td data-num="1"></td><td>150</td><td></td></tr>|}} | + | {{#arraymap:{{{角色|{{{人形}}}}}}|;|row|<tr><td>{{小头像|No.{{#explode:row|,|1}}|1|w=48px}}特典角色[[{{#explode:row|,|0}}]]</td><td data-num="1"></td><td>{{{角色单价|{{{人形单价|150}}}}}}</td><td></td></tr>|}} |
}} | }} | ||
− | {{#if:{{{换装|}}}| | + | {{#if:{{{换装|{{{装扮|{{{皮肤|}}}}}}}}}| |
− | {{#arraymap:{{{换装}}}|;|row|<tr><td>[[File:Gift bundle {{#explode:row|,|2}}.png| | + | {{#arraymap:{{{换装|{{{装扮|{{{皮肤}}}}}}}}}|;|row|<tr><td>[[File:Gift bundle {{#explode:row|,|2}}.png|48px]][[{{#explode:row|,|0}}]]装扮“{{#explode:row|,|1}}”</td><td data-num="1"></td><td>{{{换装单价|{{{装扮单价|{{{皮肤单价|150}}}}}}}}}</td><td></td></tr>|}} |
}} | }} | ||
{{#if:{{{家具|}}}| | {{#if:{{{家具|}}}| | ||
− | {{#arraymap:{{{家具}}}|;|row|<tr><td>[[File:{{#explode:row|,|1}}_icon.png| | + | {{#arraymap:{{{家具}}}|;|row|<tr><td>[[File:{{#explode:row|,|1}}_icon.png|48px]]家具“{{#explode:row|,|0}}”</td><td data-num="1"></td><td>{{{家具单价|100}}}</td><td></td></tr>|}} |
+ | }} | ||
+ | {{#if:{{{妖精|}}}| | ||
+ | {{#arraymap:{{{妖精}}}|;|row|<tr><td>战术妖精“{{#explode:row|,|0}}”</td><td data-num="{{{妖精库存|1}}}"></td><td>{{{妖精单价|80}}}</td><td></td></tr>|}} | ||
}} | }} | ||
{{#if:{{{专属|}}}| | {{#if:{{{专属|}}}| | ||
− | {{#arraymap:{{{专属}}}|;|row|<tr><td>[[File:{{#explode:row|,|2}}.png| | + | {{#arraymap:{{{专属}}}|;|row|<tr><td>[[File:{{#explode:row|,|2}}.png|48px]][[{{#explode:row|,|0}}]]专属装备[[{{#explode:row|,|1}}]]</td><td data-num="1"></td><td>{{{专属单价|80}}}</td><td></td></tr>|}} |
}} | }} | ||
{{#if:{{{名片背景|}}}| | {{#if:{{{名片背景|}}}| | ||
− | {{#arraymap:{{{名片背景}}}|;|row|<tr><td>[[File:Card_{{#explode:row|,|1}}.png| | + | {{#arraymap:{{{名片背景}}}|;|row|<tr><td>[[File:Card_{{#explode:row|,|1}}.png|48px]]名片背景“{{#explode:row|,|0}}”</td><td data-num="1"></td><td>{{{名片背景单价|50}}}</td><td></td></tr>|}} |
}} | }} | ||
{{#if:{{{头像|}}}| | {{#if:{{{头像|}}}| | ||
− | {{#arraymap:{{{头像}}}|;|row|<tr><td>[[File:ProfilePic_{{#explode:row|,|1}}.png| | + | {{#arraymap:{{{头像}}}|;|row|<tr><td>[[File:ProfilePic_{{#explode:row|,|1}}.png|48px]]头像“{{#explode:row|,|0}}”</td><td data-num="1"></td><td>{{{头像单价|30}}}</td><td></td></tr>|}} |
}} | }} | ||
− | {{#if:{{{采购币|}}}|<tr><td>{{道具图文|item=采购币|数量=1|大小= | + | {{#if:{{{采购币|}}}|<tr><td>{{道具图文|item=采购币|数量=1|大小=48px}}</td><td data-num="{{{采购币}}}"></td><td>3</td><td></td></tr>}} |
− | <tr><td>{{道具图文|item={{{经验道具|作战报告书}}}|数量=1|大小= | + | <tr><td>{{道具图文|item={{{经验道具|作战报告书}}}|数量=1|大小=48px}}</td><td data-num="{{{道具库存}}}"></td><td>2</td><td></td></tr> |
− | <tr><td>{{道具图文|item=特种作战报告书|数量=1|大小= | + | <tr><td>{{道具图文|item=特种作战报告书|数量=1|大小=48px}}</td><td data-num="{{{道具库存}}}"></td><td>2</td><td></td></tr> |
− | <tr><td>{{道具图文|item={{{好感道具|蛋奶草莓芝士}}}|数量=1|大小= | + | <tr><td>{{道具图文|item={{{好感道具|蛋奶草莓芝士}}}|数量=1|大小=48px}}</td><td data-num="{{{道具库存}}}"></td><td>2</td><td></td></tr> |
|- | |- | ||
|style="text-align:center"|'''合计'''||colspan="3" id="total" style="font-weight:bold;text-align:center"| | |style="text-align:center"|'''合计'''||colspan="3" id="total" style="font-weight:bold;text-align:center"| | ||
|}{{#widget:收银机}}</includeonly><noinclude>{{活动兑换|换装=V-PM5,飞翔海星,YZ2021 VPM5|家具=蔚蓝边际,2021SummerYZ_deco01|专属=TAC-50,液压系统后托,配件_光学瞄准镜_TAC50|名片背景=沐光浴影,Summer2021|头像=捩浪人,YZ2021 A;来自深海,YZ2021 B;影后,YZ2021 C|采购币=100|道具库存=70}} | |}{{#widget:收银机}}</includeonly><noinclude>{{活动兑换|换装=V-PM5,飞翔海星,YZ2021 VPM5|家具=蔚蓝边际,2021SummerYZ_deco01|专属=TAC-50,液压系统后托,配件_光学瞄准镜_TAC50|名片背景=沐光浴影,Summer2021|头像=捩浪人,YZ2021 A;来自深海,YZ2021 B;影后,YZ2021 C|采购币=100|道具库存=70}} | ||
</noinclude> | </noinclude> |