Line 149: |
Line 149: |
| if headers[param] then | | if headers[param] then |
| local col = mw.html.create("td") | | local col = mw.html.create("td") |
− | if values[1][param] ~= nil then | + | if param == "Xp" and info["map_xp"] ~= nil then |
| + | col:wikitext(info["map_xp"]) |
| + | col:css("text-align","center") |
| + | elseif values[1][param] ~= nil then |
| local text = values[1][param] | | local text = values[1][param] |
| col:wikitext(p.replaceWordWithWikicode(text .. " ")) | | col:wikitext(p.replaceWordWithWikicode(text .. " ")) |
Line 373: |
Line 376: |
| end | | end |
| end | | end |
| + | if frame.args["map_xp"] ~= nil then |
| + | if tonumber(frame.args["map_xp"]) ~= nil then |
| + | mapEncounterTable["map_xp"] = frame.args["map_xp"] |
| + | end |
| + | end |
| html = p.renderEncounterTable(mapEncounterTable,usedParams,bossNode,collapsed) | | html = p.renderEncounterTable(mapEncounterTable,usedParams,bossNode,collapsed) |
| | | |
Line 489: |
Line 497: |
| ["battleship_water_demon_final_form"] = '[[File:BB Water Oni2.png|160px|Battleship Water Demon|link=Battleship Water Demon]]', | | ["battleship_water_demon_final_form"] = '[[File:BB Water Oni2.png|160px|Battleship Water Demon|link=Battleship Water Demon]]', |
| ["anchorage_water_demon"] = '[[File:609-Anchorage-Water-Demon.jpg|160px|Anchorage Water Demon|link=Anchorage Water Demon]]', | | ["anchorage_water_demon"] = '[[File:609-Anchorage-Water-Demon.jpg|160px|Anchorage Water Demon|link=Anchorage Water Demon]]', |
− | ["anchorage_water_demon_final_form"] = '[[File:611-Anchorage-Water-Demon-2.PNG|160px|Anchorage Water Demon|link=Anchorage Water Demon]]',
| |
| ["harbor_water_demon"] = "[[File:605-Harbor-Water-Demon.jpg|160px|Harbor Water Demon|link=Harbor Water Demon]]" | | ["harbor_water_demon"] = "[[File:605-Harbor-Water-Demon.jpg|160px|Harbor Water Demon|link=Harbor Water Demon]]" |
− |
| |
| } | | } |
| | | |