Line 146: |
Line 146: |
| end | | end |
| end | | end |
− | if headers["Air Superiority"] == true or headers["Air Supremacy"] == true then | + | if values[1]["Air Superiority"] ~= "" or values[1]["Air Supremacy"] ~= "" then |
| td = mw.html.create("td") | | td = mw.html.create("td") |
| td:css("font-weight","bold") | | td:css("font-weight","bold") |
| td:css("text-align","center") | | td:css("text-align","center") |
− | if values[1]["Air Superiority"] ~= "" then | + | if values[i]["Air Superiority"] ~= "" then |
| td | | td |
| :wikitext("AS") | | :wikitext("AS") |
| :wikitext("<br>") | | :wikitext("<br>") |
− | :wikitext(values[1]["Air Superiority"]) | + | :wikitext(values[i]["Air Superiority"]) |
| end | | end |
− | if values[1]["Air Supremacy"] ~= "" then | + | if values[i]["Air Supremacy"] ~= "" then |
− | if values[1]["Air Superiority"] ~= "" then td:wikitext("<br>") end | + | if values[i]["Air Superiority"] ~= "" then td:wikitext("<br>") end |
| td | | td |
| :wikitext("AS+") | | :wikitext("AS+") |
| :wikitext("<br>") | | :wikitext("<br>") |
− | :wikitext(values[1]["Air Supremacy"]) | + | :wikitext(values[i]["Air Supremacy"]) |
| end | | end |
| firstRow:node(td) | | firstRow:node(td) |
Line 195: |
Line 195: |
| end | | end |
| end | | end |
− | if headers["Air Superiority"] == true or headers["Air Supremacy"] == true then | + | if values[i]["Air Superiority"] ~= "" or values[i]["Air Supremacy"] ~= "" then |
| td = mw.html.create("td") | | td = mw.html.create("td") |
| td:css("font-weight","bold") | | td:css("font-weight","bold") |
Line 385: |
Line 385: |
| ["ss_so%-class_elite[%s$]"] = '[[File:SS So Class2.png|Submarine So Class|link=Submarine So%-Class]]', | | ["ss_so%-class_elite[%s$]"] = '[[File:SS So Class2.png|Submarine So Class|link=Submarine So%-Class]]', |
| ["ss_so%-class_flagship[%s$]"] = '[[File:SS So Class3.png|Submarine So Class Flagship|link=Submarine So%-Class]]', | | ["ss_so%-class_flagship[%s$]"] = '[[File:SS So Class3.png|Submarine So Class Flagship|link=Submarine So%-Class]]', |
| + | ["armored_carrier_demon"] = '[[File:Armored CV ghost.png|Armored Carrier Demon|link=Armored Carrier Demon]]', |
| + | ["armored_carrier_princess"] = '|[[File:Armored CV queen.png|Armored Carrier Princess|link=Armored Carrier Princess]]', |
| + | ["floating_fortress_1"] = '[[File:Floating Platform.png|Floating Fortress|link=Floating Fortress]]', |
| + | ["floating_fortress_2"] = '[[File:Floating Platform2.png|Floating Fortress|link=Floating Fortress]]', |
| + | ["floating_fortress_3"] = '[[File:Floating Platform3.png|Floating Fortress|link=Floating Fortress]]', |
| + | ["anchorage_demon"] = '[[File:Ancorage_Demon_card.png|Anchorage Demon|link=Anchorage Demon]]', |
| + | ["anchorage_princess"] = '[[File:Anchorage_Princess_card.png|Anchorage Princess|link=Anchorage Princess]]', |
| + | ["escort_fortress_1"] = '[[File:Floating Platform.png|Escort Fortress|link=Escort Fortress]]', |
| + | ["escort_fortress_2"] = '[[File:Floating Platform2.png|Escort Fortress|link=Escort Fortress]]', |
| + | ["escort_fortress_3"] = '[[File:Floating Platform3.png|Escort Fortress|link=Escort Fortress]]', |
| + | ["southern_demon"] = '[[File:Southern_Demon_card.png|Southern Demon|link=Southern Demon]]', |
| + | ["southern_war_demon"] = '[[File:Southern_War_Demon_card.png|Southern War Demon|link=Southern War Demon]]', |
| + | ["southern_war_princess"] = '[[File:Southern_War_Princess_card.png|Southern War Princess|link=Southern War Princess]]', |
| + | ["airfield_princess"] = '[[File:Port_hime_card.png|Airfield Princess|link=Airfield Princess]]', |
| + | ["battleship_princess"] = '[[File:Bb_hime_card.png|Battleship Princess|link=Battleship Princess]]', |
| + | ["harbor_princess"] = '[[File:Harbor_hime_card.JPG|Harbour Princess|link=Harbour Princess]]', |
| + | ["isolated_island_demon"] = '[[File:Isolated_Island_Oni_card.JPG|Isolated Island Demon|link=Isolated Island Demon]]', |
| + | ["northern_princess"] = '[[File:581_Card.jpg|Northern Princess|link=Northern Princess]]', |
| + | ["northern_princess_final_form"] = '[[File:582_Card.jpg|Northern Princess Final Form|link=Northern Princess]]', |
| + | ["northern_princess_3-5"] = '[[File:588 Card.png|Northern Princess|link=Northern_Princess]]', |
| + | ["northern_princess_3-5_final_form"] = '[[File:582_Card.jpg|Northern Princess Final Form|link=Northern Princess]]', |
| + | ["aircraft_carrier_demon"] = '[[File:585_Card.jpg|Aircraft Carrier Demon|link=Aircraft Carrier Demon]]', |
| + | ["midway_princess"] = '[[File:583_Card.jpg|Midway Princess|link=Midway Princess]]', |
| + | ["midway_princess_final_form"] = '[[File:584_Card.jpg|Midway Princess Final Form|link=Midway Princess]]', |
| + | ["aircraft_carrier_princess"] = '[[File:586_Card.jpg|Aircraft Carrier Princess|link=Aircraft Carrier Princess]]', |
| + | ["destroyer_princess"] = '[[File:Kuchikuseiki_b.jpg|Destroyer Princess|link=Destroyer Princess]]', |
| + | ["aircraft_carrier_water_demon"] = '[[File:Kuubosuiki_b.jpg|Aircraft Carrier Water Demon|link=Aircraft Carrier Water Demon]]', |
| + | ["aircraft_carrier_water_demon_final_form"] = '[[File:Kuubosuiki_b.jpg|Aircraft Carrier Water Demon|link=Aircraft Carrier Water Demon]]', |
| + | ["light_cruiser_demon"] = '[[File:CL_demon1_card.png|Light Cruiser Demon|link=Light Cruiser Demon]]', |
| + | ["light_cruiser_demon_final_form"] = '[[File:CL_demon2_card.png|Light Cruiser Demon|link=Light Cruiser Demon]]', |
| + | ["battleship_water_demon"] = '[[File:BB Water Oni.png|Battleship Water Demon|link=Battleship Water Demon]]', |
| + | ["battleship_water_demon_final_form"] = '[[File:BB Water Oni2.png|Battleship Water Demon|link=Battleship Water Demon]]', |
| } | | } |
| if str ~= nil then | | if str ~= nil then |