Line 35: |
Line 35: |
| | | |
| 'Momo', 'I-203', 'Northampton', 'Makinami', | | 'Momo', 'I-203', 'Northampton', 'Makinami', |
| + | |
| + | 'Honolulu', 'Suzunami', 'Souya', |
| } | | } |
| | | |
Line 79: |
Line 81: |
| | | |
| local table_format = { | | local table_format = { |
− | header = '{| class="article-table sortable center ${classes}" width="100%" style="text-align:center; line-height:15px;"\n!Type\n!<span style="border-bottom:1px dotted;">Ship<sup>[[Template:DropList/doc|?]]</sup></span>\n', | + | -- header = '{| class="article-table sortable center ${classes}" width="100%" style="text-align:center; line-height:15px;"\n!Type\n!<span style="border-bottom:1px dotted;">Ship<sup>[[Template:DropList/doc|?]]</sup></span>\n', |
| + | header = '{| class="wikitable mw-collapsible mw-collapsed" width="50%" style="text-align:center"\n!colspan="100"|Ship drops\n|-\n!Type\n!Ship', |
| header_node = '!${node}\n', | | header_node = '!${node}\n', |
| header_boss_node = '!style="background-color:#FFCDD2;color:red;"|\'\'\'${node}\'\'\'\n', | | header_boss_node = '!style="background-color:#FFCDD2;color:red;"|\'\'\'${node}\'\'\'\n', |
− | row = '|- class="toggle-target-droplist-non-rare-ship" style="display:none;"\n', | + | row = '|-\n', -- class="toggle-target-droplist-non-rare-ship" style="display:none;" |
| rare_row = '|-\n', | | rare_row = '|-\n', |
| type_cell = '|${type}\n', | | type_cell = '|${type}\n', |
Line 303: |
Line 306: |
| add(table_format.footer) | | add(table_format.footer) |
| | | |
− | if tbl.debug ~= '' then | + | if tbl.debug ~= '' and tbl.log then |
| add(format{table_format.debugger, debug = tbl.debug}) | | add(format{table_format.debugger, debug = tbl.debug}) |
| end | | end |
Line 317: |
Line 320: |
| return showTable(parseArgs(args)) | | return showTable(parseArgs(args)) |
| end | | end |
− |
| |
− | DropList.t = Formatting:format_ship_code('')
| |
| | | |
| return DropList | | return DropList |