Line 67: |
Line 67: |
| | | |
| local table_format = { | | local table_format = { |
− | header = '{| class="wikitable sortable" align="center" width="90%" style="text-align:center"\n!#\n!Type\n!Ship\n', | + | header = '{| class="wikitable sortable" align="center" width="100%" style="text-align:center"\n!class="headerSort headerSortDown"|#\n!Type\n!Ship\n', |
| header_node = '!width="10%%"|%s\n', | | header_node = '!width="10%%"|%s\n', |
| header_boss_node = '!width="10%%" style="background-color:pink;color:red;"|\'\'\'%s\'\'\'\n', | | header_boss_node = '!width="10%%" style="background-color:pink;color:red;"|\'\'\'%s\'\'\'\n', |
Line 91: |
Line 91: |
| res = res .. table_format.row | | res = res .. table_format.row |
| res = res .. string.format(table_format.cell, row.id) | | res = res .. string.format(table_format.cell, row.id) |
| + | res = res .. string.format(table_format.cell, row.type) |
| res = res .. string.format(table_format.ship_cell, row.ship) | | res = res .. string.format(table_format.ship_cell, row.ship) |
− | res = res .. string.format(table_format.cell, row.type)
| |
| for _, node in pairs(tbl.nodes) do | | for _, node in pairs(tbl.nodes) do |
| local node = row.nodes[node.name] | | local node = row.nodes[node.name] |