Line 165: |
Line 165: |
| | | |
| local shipInfo = assert(shipmodule.data[shipNum], "This KanMusu ID doesn't contains any data") | | local shipInfo = assert(shipmodule.data[shipNum], "This KanMusu ID doesn't contains any data") |
− |
| |
− | local RscHeader = '<th style="width: 25%; white-space: nowrap; {{border-radius|12px 4px 4px 12px}} background-color: #3baef5; color: #ffffff; padding-left: 5px; padding-right: 5px; text-align: right;">'
| |
− | local RscData = '<td style="width: 25%; white-space: nowrap; text-align: center;">'
| |
− | local RscData2 = '<td colspan="3" style="width: 75%; white-space: nowrap; text-align: center;">'
| |
| | | |
| -- Equipment table | | -- Equipment table |
Line 316: |
Line 312: |
| local RscHeader = '<th style="width: 25%; white-space: nowrap; {{border-radius|12px 4px 4px 12px}} background-color: #3baef5; color: #ffffff; padding-left: 5px; padding-right: 5px; text-align: right;">' | | local RscHeader = '<th style="width: 25%; white-space: nowrap; {{border-radius|12px 4px 4px 12px}} background-color: #3baef5; color: #ffffff; padding-left: 5px; padding-right: 5px; text-align: right;">' |
| local RscData = '<td style="width: 25%; white-space: nowrap; text-align: center;">' | | local RscData = '<td style="width: 25%; white-space: nowrap; text-align: center;">' |
− | local RscData2 = '<td colspan="3" style="width: 75%; white-space: nowrap; text-align: center;">'
| + | |
| local illustrator = '' | | local illustrator = '' |
| local voiceactor = '' | | local voiceactor = '' |
Line 325: |
Line 321: |
| illustrator = 'Unknown' | | illustrator = 'Unknown' |
| end | | end |
| + | art = RscHeader .. 'Artist</th>' .. RscData .. illustrator .. '</td>' |
| if shipmodule.data[shipNum]["seiyuu"] ~= "Unknown" and shipmodule.data[shipNum]["seiyuu"] ~= "" then | | if shipmodule.data[shipNum]["seiyuu"] ~= "Unknown" and shipmodule.data[shipNum]["seiyuu"] ~= "" then |
| voiceactor = '[[:Category:' .. shipmodule.data[shipNum]["seiyuu"] .. '|' .. shipmodule.data[shipNum]["seiyuu"] .. ']]' | | voiceactor = '[[:Category:' .. shipmodule.data[shipNum]["seiyuu"] .. '|' .. shipmodule.data[shipNum]["seiyuu"] .. ']]' |
Line 331: |
Line 328: |
| voiceactor = 'Unknown' | | voiceactor = 'Unknown' |
| end | | end |
− | local row14 = '<table style="width: 100%">' .. '<tr>' .. RscHeader .. 'Artist</th>' .. RscData .. illustrator .. '</td>' .. RscHeader .. 'Seiyuu</th>' .. RscData .. voiceactor .. '</td></tr>' .. '</table>' | + | voice = RscHeader .. 'Seiyuu</th>' .. RscData .. voiceactor .. '</td>' |
| + | local row14 = '<table style="width: 100%">' .. art .. voice .. '</table>' |
| return row14 | | return row14 |
| end | | end |