Module:Infobox Monster: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
InvalidCards (talk | contribs) (Cleaner to do it this way imo) |
||
Line 78: | Line 78: | ||
:pad(20) |
:pad(20) |
||
local ep_param = infobox.args_raw['episode'] |
local ep_param = string.lower(infobox.args_raw['episode'] or '') |
||
if classMap[ |
if classMap[ep_param] ~= nil then |
||
infobox:addClass('infobox-'..classMap[ |
infobox:addClass('infobox-'..classMap[ep_param]) |
||
end |
end |
||