Line 8: |
Line 8: |
| | | |
| local ShipListKai = BaseTable({ | | local ShipListKai = BaseTable({ |
− | _table_start = [[{| class="wikitable typography-xl-optout" style="width: -moz-fit-content; width: -webkit-fit-content; width: fit-content; text-align: center;"]], | + | _table_start = [[{| class="wikitable"]], |
− | _header_template = [[! style="position:sticky; top: 0px;" | No. | + | _header_template = [[! style="position:sticky;top:0px" | No. |
− | ! style="position:sticky; top: 0px; width: 100px;" | Name | + | ! style="position:sticky;top:0px;width:100px" | Name |
− | ! style="position:sticky; top: 0px; width: 75px;" | Class | + | ! style="position:sticky;top:0px;width:75px" | Class |
− | ! style="position:sticky; top: 0px;" | Type | + | ! style="position:sticky;top:0px" | Type |
− | ! style="position:sticky; top: 0px; width: 30px; text-align: center; vertical-align: middle; background-color: lightcoral;" | ${firepower} | + | ! style="position:sticky;top:0px;width:30px;background-color:lightcoral" | ${firepower} |
− | ! style="position:sticky; top: 0px; width: 30px; text-align: center; vertical-align: middle; background-color: lightskyblue;" | ${torpedo} | + | ! style="position:sticky;top:0px;width:30px;background-color:lightskyblue" | ${torpedo} |
− | ! style="position:sticky; top: 0px; width: 24px; text-align: center; vertical-align: middle; background-color: slategrey;" | ${firepower}${torpedo} | + | ! style="position:sticky;top:0px;width:24px;background-color:slategrey" | ${firepower}${torpedo} |
− | ! style="position:sticky; top: 0px; width: 30px; text-align: center; vertical-align: middle; background-color: sandybrown;" | ${aa} | + | ! style="position:sticky;top:0px;width:30px;background-color:sandybrown" | ${aa} |
− | ! style="position:sticky; top: 0px; width: 30px; text-align: center; vertical-align: middle; background-color: #9C8FEE;" | ${asw} | + | ! style="position:sticky;top:0px;width:30px;background-color:#9C8FEE" | ${asw} |
− | ! style="position:sticky; top: 0px; white-space:nowrap; width: 30px; text-align: center; vertical-align: middle; background-color: #9C8FEE;" | ${asw}+ | + | ! style="position:sticky;top:0px;white-space:nowrap;width:30px;background-color:#9C8FEE" | ${asw}+ |
− | ! style="position:sticky; top: 0px; width: 30px; text-align: center; vertical-align: middle; background-color: aquamarine;" | ${los} | + | ! style="position:sticky;top:0px;width:30px;background-color:aquamarine" | ${los} |
− | ! style="position:sticky; top: 0px; white-space:nowrap; width: 30px; text-align: center; vertical-align: middle; background-color: aquamarine;" | ${los}+ | + | ! style="position:sticky;top:0px;white-space:nowrap;width:30px;background-color:aquamarine" | ${los}+ |
− | ! style="position:sticky; top: 0px; width: 30px; text-align: center; vertical-align: middle; background-color: palegreen;" | ${luck} | + | ! style="position:sticky;top:0px;width:30px;background-color:palegreen" | ${luck} |
− | ! style="position:sticky; top: 0px; white-space:nowrap; width: 30px; text-align: center; vertical-align: middle; background-color: palegreen;" | ${luck}+ | + | ! style="position:sticky;top:0px;white-space:nowrap;width:30px;background-color:palegreen" | ${luck}+ |
− | ! style="position:sticky; top: 0px; width: 30px; text-align: center; vertical-align: middle; background-color: pink;" | ${hp} | + | ! style="position:sticky;top:0px;width:30px;background-color:pink" | ${hp} |
− | ! style="position:sticky; top: 0px; width: 30px; text-align: center; vertical-align: middle; background-color: #F2E279;" | ${armor} | + | ! style="position:sticky;top:0px;width:30px;background-color:#F2E279" | ${armor} |
− | ! style="position:sticky; top: 0px; width: 30px; text-align: center; vertical-align: middle; background-color: violet;" | ${evasion} | + | ! style="position:sticky;top:0px;width:30px;background-color:violet" | ${evasion} |
− | ! style="position:sticky; top: 0px; white-space:nowrap; width: 30px; text-align: center; vertical-align: middle; background-color: violet;" | ${evasion}+ | + | ! style="position:sticky;top:0px;white-space:nowrap;width:30px;background-color:violet" | ${evasion}+ |
− | ! style="position:sticky; top: 0px; width: 30px; text-align: center; vertical-align: middle; background-color: #72E6E6;" | ${speed} | + | ! style="position:sticky;top:0px;width:30px;background-color:#72E6E6" | ${speed} |
− | ! style="position:sticky; top: 0px; width: 30px; text-align: center; vertical-align: middle; background-color: silver;" | ${aircraft} | + | ! style="position:sticky;top:0px;width:30px;background-color:silver" | ${aircraft} |
− | ! style="position:sticky; top: 0px; width: 30px; text-align: center; vertical-align: middle; background-color: lightseagreen;" | ${range} | + | ! style="position:sticky;top:0px;width:30px;background-color:lightseagreen" | ${range} |
− | ! style="position:sticky; top: 0px; width: 30px; text-align: center; vertixal-align: middle; background-color: forestgreen;" | ${fuel} | + | ! style="position:sticky;top:0px;width:30px;vertixal-align:middle;background-color:forestgreen" | ${fuel} |
− | ! style="position:sticky; top: 0px; width: 30px; text-align: center; vertical-align: middle; background-color: darkgoldenrod;" | ${ammo} | + | ! style="position:sticky;top:0px;width:30px;background-color:darkgoldenrod" | ${ammo} |
− | ! style="position:sticky; top: 0px; width: 250px; text-align: center; vertical-align: middle;" | Build / Remodel Info | + | ! style="position:sticky;top:0px;width:250px;vertical-align:middle" | Build / Remodel Info |
− | ! style="position:sticky; top: 0px; text-align:left;" | Notes]], | + | ! style="position:sticky;top:0px;text-align:left" | Notes]], |
| _columns = { | | _columns = { |
| "id", | | "id", |
Line 61: |
Line 61: |
| "notes", | | "notes", |
| }, | | }, |
− | _cell = [[| style="${text_align}; padding:5px 5px 5px 5px;" |${value}]], | + | _cell = [[| style="${text_align}" |${value}]], |
| _item_class = Ship, | | _item_class = Ship, |
| _class_number_template = "${class_name}<br />#${class_number}", | | _class_number_template = "${class_name}<br />#${class_number}", |