4,951
edits
Falterfire (talk | contribs) (Added SkillReq function) |
Falterfire (talk | contribs) (Added ability to override extensions as necessary) |
||
Line 3: | Line 3: | ||
local p = {} | local p = {} | ||
--Extension overrides for items that have non-svg images | |||
local extOverrides = { | |||
["Crown of Rhaelyx"] = "png", | |||
["Jewel of Rhaelyx"] = "png", | |||
["Circlet of Rhaelyx"] = "png", | |||
["Charge Stone of Rhaelyx"] = "png", | |||
["Mysterious Stone"] = "png", | |||
["Aeris Godsword"] = "png", | |||
["Cloudburst Staff"] = "png", | |||
} | |||
local Shared= require("Module:Shared") | local Shared= require("Module:Shared") | ||
Line 31: | Line 41: | ||
link = 'Spider (lv. 52)' | link = 'Spider (lv. 52)' | ||
end | end | ||
if extOverrides[img] ~= nil then ext = extOverrides[img] end | |||
local result = '[[File:'..img | local result = '[[File:'..img |