Line 146: |
Line 146: |
| end | | end |
| end | | end |
− | if values[1]["Air Superiority"] ~= "" or values[1]["Air Supremacy"] ~= "" then | + | if headers["Air Superiority"] == true or headers["Air Supremacy"] == true 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[i]["Air Superiority"] ~= "" then | + | if values[1]["Air Superiority"] ~= "" then |
| td | | td |
| :wikitext("AS") | | :wikitext("AS") |
| :wikitext("<br>") | | :wikitext("<br>") |
− | :wikitext(values[i]["Air Superiority"]) | + | :wikitext(values[1]["Air Superiority"]) |
| end | | end |
− | if values[i]["Air Supremacy"] ~= "" then | + | if values[1]["Air Supremacy"] ~= "" then |
− | if values[i]["Air Superiority"] ~= "" then td:wikitext("<br>") end | + | if values[1]["Air Superiority"] ~= "" then td:wikitext("<br>") end |
| td | | td |
| :wikitext("AS+") | | :wikitext("AS+") |
| :wikitext("<br>") | | :wikitext("<br>") |
− | :wikitext(values[i]["Air Supremacy"]) | + | :wikitext(values[1]["Air Supremacy"]) |
| end | | end |
| firstRow:node(td) | | firstRow:node(td) |
Line 195: |
Line 195: |
| end | | end |
| end | | end |
− | if values[i]["Air Superiority"] ~= "" or values[i]["Air Supremacy"] ~= "" then | + | if headers["Air Superiority"] == true or headers["Air Supremacy"] == true then |
| td = mw.html.create("td") | | td = mw.html.create("td") |
| td:css("font-weight","bold") | | td:css("font-weight","bold") |
Line 418: |
Line 418: |
| ["battleship_water_demon_final_form"] = '[[File:BB Water Oni2.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 |
| | | |