上次访问的5个页面:特殊:前缀索引/Patch17.4.1.51510/ > 特殊:前缀索引/模板:沙盒/ > 侏儒军刀 > 安纳塞隆 > 模板:沙盒
  • 我们目前有14,733个页面,449个用户,137,843次编辑。
  • 欢迎加入中文炉石wiki百科注册一个账号,一起参与编写吧!
  • 如果编辑遇到不懂的问题可以加入QQ群:群聊号码 242224065
  • Mode Standard Hydra.png 如果你想编辑页面,请详细阅读查看编辑者手册

“模板:沙盒”的版本间的差异

来自炉石传说wiki(ifindhs)
跳到导航 跳到搜索
Djq讨论 | 贡献
 
(未显示同一用户的5个中间版本)
第1行: 第1行:
{{#vardefine:heroN|{{GetCount|table=CargoHeros|where=CargoHeros.职业分类='{{{1}}}' and CargoHeros.合集 is null and CargoHeros.类型='英雄'}}}}{{#vardefine:playHN|{{GetCount|table=CargoHeros|where=CargoHeros.职业分类='{{{1}}}' and CargoHeros.合集 is null and CargoHeros.类型='可打出英雄'}}}}
+
{{#cargo_compound_query:
{{#switch:{{{1|}}}
+
tables=CargoCards;where=CargoCards.编号='{{{1}}}';fields=_pageName,代码
|盗贼
+
|tables=CargoBgsCards;where=CargoBgsCards.编号='{{{1}}}';fields=_pageName,代码
|潜行者={{#vardefine:whereHero|(CargoHeros.职业分类='盗贼' or CargoHeros.职业分类='潜行者') and CargoHeros.合集 is null and CargoHeros.类型='可打出英雄'}}
 
|萨满
 
|萨满祭司={{#vardefine:whereHero|(CargoHeros.职业分类='萨满' or CargoHeros.职业分类='萨满祭司') and CargoHeros.合集 is null and CargoHeros.类型='可打出英雄'}}
 
|CargoHeros.职业分类='{{{1}}}' and CargoHeros.合集 is null and CargoHeros.类型='可打出英雄'
 
}}
 
{{#switch:{{{1|}}}
 
|盗贼
 
|潜行者={{#vardefine:wherePlay|(CargoHeros.职业分类='盗贼' or CargoHeros.职业分类='潜行者') and CargoHeros.合集 is null and CargoHeros.类型='英雄'}}
 
|萨满
 
|萨满祭司={{#vardefine:wherePlay|(CargoHeros.职业分类='萨满' or CargoHeros.职业分类='萨满祭司') and CargoHeros.合集 is null and CargoHeros.类型='英雄'}}
 
|CargoHeros.职业分类='{{{1}}}' and CargoHeros.合集 is null and CargoHeros.类型='英雄'
 
}}<table style="padding-left:100px;padding-right:100px;width:100%;"  class="mw-collapsible ">
 
<caption><b>{{{1}}}英雄皮肤</b></caption>
 
<tr><td class="mw-collapsible-content" style="text-align:center">
 
<hr/><hr/>
 
英雄皮肤数量 '''{{#var:heroN}}'''
 
<hr/><hr/>
 
{{#cargo_query:table=CargoHeros
 
|fields=_pageName,代码,编号
 
|where={{#var:whereHero}}
 
|group by=代码
 
|default=
 
 
|named args=yes
 
|named args=yes
 
|format=template
 
|format=template
|order by=编号
+
|template=CargoQueryPic/Card
|template=CargoQueryPic/Hero
+
|default="没找到编号为{{{1}}}的卡牌信息"
}}<br/>
+
}}
<hr/><hr/>
 
可打出英雄数量 '''{{#var:playHN}}'''
 
<hr/><hr/>
 
{{#cargo_query:table=CargoHeros
 
|fields=_pageName,代码
 
|where={{#var:wherePlay}}
 
|group by=代码
 
|default=
 
|named args=yes
 
|format=template
 
|order by=编号
 
|template=CargoQueryPic/Hero
 
}}</td></tr></table>
 

2023年12月31日 (日) 22:21的最新版本