◆少前百科是非盈利性、非官方的少女前线维基百科。
◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科
◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科
◆To foreigners,You can use twitter to contact us.
Icon Nyto Silver.png

更改

跳转至: 导航搜索

模块:Gun info

添加175字节2023年3月24日 (五) 22:11
无编辑摘要
local attrtable = root:tag('div'):attr('id', 'attr-table')
attrtable:tag('div'):attr{id = 'attr-round', ['data-attr'] = gundata.round or 0, ['data-mod'] = moddata and (moddata.round or (gundata.round or 0)) or nil}
attrtable:tag('div'):wikitext('<div>移速</div><div>' .. tostring(speeds[gundata.typeguntype]) .. '</div>') attrtable:tag('div'):wikitext('<div>暴击</div><div>' .. tostring(gundata.crit or crits[gundata.typeguntype]) .. '</div>')
attrtable:tag('div'):wikitext('<div>暴伤</div><div>150%</div>')
local self_pos
'<a href="/w/Module:Gun_info/data">Module:Gun info/data</a>的数据是否为最新。</p>'
end
moddata if gundata.mod == 1 then local moddataOrig = mw.loadData('Module:Gun info/datamod')[tonumber(args[1])+20000] moddata = {} for k,v in pairs(gundata) do moddata[k] = moddataOrig[k] or gundata[k] end end
root = mw.html.create()

导航菜单