模块:EquipmentInfoList:修订间差异
跳转到导航
跳转到搜索
无编辑摘要 |
无编辑摘要 |
||
| 第3行: | 第3行: | ||
function p.list(frame) | function p.list(frame) | ||
local args = (frame == mw.getCurrentFrame() and frame.args) or frame | local args = (frame == mw.getCurrentFrame() and frame.args) or frame | ||
res_table = {} | res_table = {} | ||
table.insert(res_table, string.format('!style="width:1.5em;"|!!可兑换道具!!style="width:5.0em;"|库存!!style="width:6.0em;"|单价\n' )) | table.insert(res_table, string.format('!style="width:1.5em;"|!!可兑换道具!!style="width:5.0em;"|库存!!style="width:6.0em;"|单价\n' )) | ||
2025年12月22日 (一) 06:40的版本
此模块的文档可以在模块:EquipmentInfoList/doc创建
local p = {}
function p.list(frame)
local args = (frame == mw.getCurrentFrame() and frame.args) or frame
res_table = {}
table.insert(res_table, string.format('!style="width:1.5em;"|!!可兑换道具!!style="width:5.0em;"|库存!!style="width:6.0em;"|单价\n' ))
-- table.insert(res_table, )
-- table.insert(res_table, string.format('!style="width:1.5em;"|%s!!可兑换道具!!style="width:5.0em;"|库存!!style="width:6.0em;"|单价\n', selectall_str))
return table.concat(res_table)
end
return p