打开主菜单

少前百科GFwiki β

更改

模块:Enemy info

添加11字节2022年9月11日 (日) 19:37
无编辑摘要
local function addDesc()
node = node:tag('table')
for _,n in ipairs(udata.chars) do
node:tag('tr'):tag('td'):attr('colspan', 2):wikitext(currentframe():expandTemplate{title='敌方图鉴TAG', args={chars[n][1], chars[n][2]}})
end
if udata.skills then
local skills = mw.loadData('模块:Enemy info/skill data')
for _,n in ipairs(udata.skills) do
node:tag('tr'):tag('td'):attr('colspan', 2):wikitext(currentframe():expandTemplate{title='敌方图鉴技能', args={skills[n][1], skills[n][2]}})
end
end
node:tag('tr'):tag('td'):attr('colspan', 2):wikitext(currentframe():expandTemplate{title='敌方图鉴文本内敛', args={udata.counter}})
node = node:done()
end
if i % 2 == 0 then node = node:done() end
end
node = node:done()
end