模块:Test:修订间差异

跳到导航 跳到搜索
无编辑摘要
无编辑摘要
第80行: 第80行:
     function renderHeader(tbl)
     function renderHeader(tbl)
     local row = tbl:tag('tr')
     local row = tbl:tag('tr')
     for i=1,3 do
     for i=1,2 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')
            sheet:Range( '1:3' ):Merge()--合并单元格
 
             header_th
             header_th
                 :wikitext(params["header"][i])
                 :wikitext(params["header"][i])