模块:Test:修订间差异

跳到导航 跳到搜索
删除89字节 、​ 2022年1月31日 (星期一)
无编辑摘要
无编辑摘要
无编辑摘要
第156行: 第156行:
     table.sort(tot_row_ids)
     table.sort(tot_row_ids)


     local tab_count = math.floor(tableLength(tot_row_ids) / item_per_tab)
     local tab_count = math.ceil(tableLength(tot_row_ids) / item_per_tab)
     local tabs_row_ids = {}
     local tabs_row_ids = {}


第162行: 第162行:
     if tab_count == 1 then
     if tab_count == 1 then
         return renderTable(args, next(tabs_row_ids))
         return renderTable(args, next(tabs_row_ids))
    else
        return mw.html.create('p'):wikitext("tab_count:"..tostring(tab_count))
     end
     end


导航菜单