模块:Test:修订间差异
跳到导航
跳到搜索
无编辑摘要 |
无编辑摘要 |
||
第80行: | 第80行: | ||
function renderHeader(tbl) | function renderHeader(tbl) | ||
local row = tbl:tag('tr') | local row = tbl:tag('tr') | ||
for i= | for i=1,1 do | ||
if params["display"][i] == "true" then | if params["display"][i] == "true" then | ||
local header_th = row:tag('th') | local header_th = row:tag('th') | ||
header_th | header_th | ||
:wikitext(params["header"][i]) | :wikitext(params["header"][i]) | ||
:css('padding' ,' | :css('padding' ,'30px') | ||
:css('width' , params["col_width" ][i]) | :css('width' , params["col_width" ][i]) | ||
:css('height' , params["col_height" ][i]) | :css('height' , params["col_height" ][i]) |