打开主菜单

少前百科GFwiki β

更改

模块:Gun info

添加215字节2023年8月18日 (五) 14:44
无编辑摘要
local function addChibi()
super:newline():wikitext('== 战斗形象 =='):newline()
local root = super:tag('div'):addClass('dollSpineBox')
local argTable = {'ChibiCostumeSwitcher', target = 'TDollChibiAnimation'}
local guncode = string.gsub(gundata.code, ' ', '_')
if moddata then argTable['costumes.mod'] = '心智升级' end
for _, v in ipairs(gundata.skins) do
end
local frame = mw.getCurrentFrame()
superroot:wikitext(frame:callParserFunction('#widget', argTable)) root:tag('div'):addClass('tdoll_chibi'):attr{ id = 'TDollChibiAnimation', ['data-tdoll-id'] = guncode }
end