打开主菜单

少前百科GFwiki β

更改

模块:SquadTables

添加87字节2024年5月5日 (星期日)
无编辑摘要
local function addChipAttri(i)
local chipRow = chipTable:tag('tr'):attr('id', string.format('chip-%s-%d', string.lower(args['代号']), i))
local chipNum = '芯片' .. tostring(i)
chipRow:tag('td'):wikitext(chipNum)
chipTable:tag('tr'):tag('th'):addClass('gflabelbg'):attr('colspan', 5):wikitext('芯片')
local firstRow = chipTable:tag('tr')
firstRow:tag('td'):attr('{colspan = 2, rowspan', = 4}):tag('div'):wikitext(args['芯片5'])
local row = firstRow
local sums = {}
row:tag('td'):wikitext(attris[i])
chips[i] = 0
sums[i] = row:tag('td'):attr('colspan', 32)
row = chipTable:tag('tr')
end