Module:Infobox Monster: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(there is an attempt)
(lua operators!)
Line 80: Line 80:
local ep_param = Infobox.raw_param('episode');
local ep_param = Infobox.raw_param('episode');
if classMap[ep_param] ~= nil then
if classMap[ep_param] ~= nil then
infobox.addClass('infobox-'..classMap[ep_param])
infobox:addClass('infobox-'..classMap[ep_param])
end
end