8,756
edits
mNo edit summary |
mNo edit summary |
||
Line 75: | Line 75: | ||
local output = mw.html.create() | local output = mw.html.create() | ||
local tbl = output:tag('table') | local tbl = output:tag('table') | ||
:addClass(' | :addClass('cargoDynamicTable display dataTable') | ||
:addClass('sortable') | :addClass('sortable') | ||
util_html.printHeader(tbl, COLUMNS) | -- util_html.printHeader(tbl, COLUMNS) | ||
tbl:tag('tr') | |||
:tag('th'):css('width','470px'):wikitext(COLUMNS[1]) | |||
:tag('th'):css('width','130px'):wikitext(COLUMNS[2]) | |||
:tag('th'):wikitext(COLUMNS[3]) | |||
util_html.printRowsByList(tbl, data, COLUMNS) | util_html.printRowsByList(tbl, data, COLUMNS) | ||
return output | return output |