Module:HeroData: Difference between revisions

Jump to navigation Jump to search
Sur (talk | contribs)
m finally a functioning version of all stats added
Sur (talk | contribs)
m table content fitting corrected
Line 533: Line 533:
headers_str = "<tr>" .. headers_str .. "</tr>"
headers_str = "<tr>" .. headers_str .. "</tr>"


local table_str = '<table class="wikitable sortable" style="table-layout: fixed; width: 100%;">' .. headers_str .. body_str .. "</table>"
local table_str = '<table class="wikitable sortable" style="table-layout: auto; width: 100%;">' .. headers_str .. body_str .. "</table>"
local output_str = '<div style="overflow-x: auto; width: 100%;">' .. table_str .. '</div>'
local output_str = '<div style="overflow-x: auto; width: 100%;">' .. table_str .. '</div>'
return output_str
return output_str