本WIKI由呜呜kurumi申请于2021年03月15日创建,编辑权限开放

如有内容错误,可以联系站长呜呜kurumi提交错误,赛马娘WIKI力求给大家带来最好的体验,也欢迎训练员们和我们一起建设
bugfix0531
全站通知:

模板:选择卡池

来自赛马娘WIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索

一个选择赛马娘的下拉菜单控件。
用户选择结果放在id为xzkc_selectId_xxx的元素中。该元素在页面上隐藏。
此模板需要JsText模块,使用时确保页面上需添加过,若在页面其他地方已经添加,请不要重复添加。
此模板随整个wiki数据库的更新而自动更新,不需要后期追加角色。
btn-id为可选参数,作用是在选项改变时激活对应id的按钮(相应的按钮{{#widget:Button}}应该包含参数disabled=disabled,使按钮处于未激活状态)
使用例

代码 运行结果
{{#Widget:JsText}}
{{#Widget:Show}}
{{#Widget:Filepath}}
{{选择卡池|id=ZZZZZ|类型=支援卡}}
{{#Widget:Button
|text=解析选择
|onclick=
JsText.setText({id:'result',text:JsText.getValueById({id:'xzkc_title_ZZZZZ'})}),
Show(JsText.getValueById({id:'xzkc_title_ZZZZZ'}),'?图片','tp'),
Show(JsText.getValueById({id:'xzkc_title_ZZZZZ'}),'?SSRUPID','SSRUPID'),
getFilepath(JsText.getText({id:'xzkc_selectId_ZZZZZ'})+'.png','pict')
}}
<br>选择结果:<div id='result'></div>
<br>图片名:<div id='tp'></div>
<br>查到的SSRUPID:<div id='SSRUPID'></div>
<br>显示图片:{{#widget:Img|id=pict|src=umamusume/4/41/26fa8j74m58h1d9ct2gctnui1yzfdfe.png|style=width:200px}}

Gacha banner 30291.png
---------------------------
Gacha banner 30289.png
---------------------------
Gacha banner 30285.png
---------------------------
Gacha banner 30283.png
---------------------------
Gacha banner 30279.png
---------------------------
Gacha banner 30277.png
---------------------------
Gacha banner 30275.png
---------------------------
Gacha banner 30271.png
---------------------------
Gacha banner 30269.png
---------------------------
Gacha banner 30267.png
---------------------------
Gacha banner 30265.png
---------------------------
Gacha banner 30261.png
---------------------------
Gacha banner 30259.png
---------------------------
Gacha banner 30257.png
---------------------------
Gacha banner 30257.png
---------------------------
Gacha banner 30253.png
---------------------------
Gacha banner 30251.png
---------------------------
Gacha banner 30247.png
---------------------------
Gacha banner 30245.png
---------------------------
Gacha banner 30243.png
---------------------------
Gacha banner 30237.png
---------------------------
Gacha banner 30235.png
---------------------------
Gacha banner 30233.png
---------------------------
Gacha banner 30229.png
---------------------------
Gacha banner 30227.png
---------------------------
Gacha banner 30225.png
---------------------------
Gacha banner 30223.png
---------------------------
Gacha banner 30221.png
---------------------------
Gacha banner 30219.png
---------------------------
Gacha banner 30217.png
---------------------------
Gacha banner 30215.png
---------------------------
Gacha banner 30213.png
---------------------------
Gacha banner 30211.png
---------------------------
Gacha banner 30209.png
---------------------------
Gacha banner 30207.png
---------------------------
Gacha banner 30205.png
---------------------------
Gacha banner 30203.png
---------------------------
Gacha banner 30201.png
---------------------------
Gacha banner 30199.png
---------------------------
Announce banner 3197.png
---------------------------
Gacha banner 30195.png
---------------------------
Gacha banner 30193.png
---------------------------
Gacha banner 30191.png
---------------------------
Gacha banner 30189.png
---------------------------
Gacha banner 30187.png
---------------------------
Gacha banner 30185.png
---------------------------
Gacha banner 30183.png
---------------------------
Gacha banner 30181.png
---------------------------
Gacha banner 30179.png
---------------------------
Gacha banner 30177.png
---------------------------
Gacha banner 30175.png
---------------------------
Gacha banner 30173.png
---------------------------
Gacha banner 30171.png
---------------------------
Gacha banner 30169.png
---------------------------
Gacha banner 30167.png
---------------------------
Gacha banner 30163.png
---------------------------
Gacha banner 30161.png
---------------------------
Gacha banner 30159.png
---------------------------
Gacha banner 30157.png
---------------------------
Gacha banner 30155.png
---------------------------
Gacha banner 30153.png
---------------------------
Gacha banner 30151.png
---------------------------
Gacha banner 30149.png
---------------------------
Gacha banner 30147.png
---------------------------
Gacha banner 30143.png
---------------------------
Gacha banner 30141.png
---------------------------
Gacha banner 30139.png
---------------------------
Gacha banner 30137.png
---------------------------
Gacha banner 30135.png
---------------------------
Gacha banner 30133.png
---------------------------
Gacha banner 30129.png
---------------------------
Gacha banner 30127.png
---------------------------
Gacha banner 30125.png
---------------------------
Gacha banner 30123 new.png
---------------------------
Gacha banner 30121.png
---------------------------
Gacha banner 30119.png
---------------------------
Gacha banner 30117.png
---------------------------
Gacha banner 30115.png
---------------------------
Gacha banner 30113.png
---------------------------
Gacha banner 30111.png
---------------------------
Gacha banner 30109.png
---------------------------
Gacha banner 30107.png
---------------------------
Gacha banner 30105.png
---------------------------
Gacha banner 30103.png
---------------------------
Gacha banner 30101.png
---------------------------
Gacha banner 30099.png
---------------------------
Gacha banner 30097.png
---------------------------
Gacha banner 30095.png
---------------------------
Gacha banner 30093.png
---------------------------
Gacha banner 30091.png
---------------------------
Gacha banner 30089.png
---------------------------
Gacha banner 30087.png
---------------------------
Gacha banner 30085.png
---------------------------
Gacha banner 30083.png
---------------------------
Gacha banner 30081.png
---------------------------
Gacha banner 30079.png
---------------------------
Gacha banner 30077.png
---------------------------
Gacha banner 30075.png
---------------------------
Gacha banner 30073.png
---------------------------
Gacha banner 30071.png
---------------------------
Gacha banner 30069.png
---------------------------
Gacha banner 30067.png
---------------------------
Gacha banner 30065.png
---------------------------
Gacha banner 30063.png
---------------------------
Gacha banner 30061.png
---------------------------
Gacha banner 30059.png
---------------------------
Gacha banner 30057.png
---------------------------
Gacha banner 30055.png
---------------------------
Gacha banner 30053.png
---------------------------
Gacha banner 30051.png
---------------------------
Gacha banner 30049.png
---------------------------
Gacha banner 30047.png
---------------------------
Gacha banner 30045.png
---------------------------
Gacha banner 30043.png
---------------------------
Gacha banner 30041.png
---------------------------
Gacha banner 30039.png
---------------------------
Gacha banner 30037.png
---------------------------
Gacha banner 30035.png
---------------------------
Gacha banner 30033.png
---------------------------
Gacha banner 30031.png
---------------------------
Gacha banner 30029.png
---------------------------
Gacha banner 30027.png
---------------------------
Gacha banner 30025.png
---------------------------
Gacha banner 30023.png
---------------------------
Gacha banner 30021.png
---------------------------
Gacha banner 30019.png
---------------------------
Gacha banner 30017.png
---------------------------
Gacha banner 30015.png
---------------------------
Gacha banner 30013.png
---------------------------
Gacha banner 30011.png
---------------------------
Gacha banner 30009.png
---------------------------
Gacha banner 30007.png
---------------------------
Gacha banner 30005.png
---------------------------


选择结果:

图片名:

查到的SSRUPID:


显示图片: