Module:Infobox: Difference between revisions

no edit summary
m (Errant bracket)
No edit summary
Line 562:
end
 
 
local episode_classes = {
['hopeport'] = 'hopeport',
['hopeforest'] = 'hopeforest',
['mine of mantuban'] = 'mantuban',
['crenopolis'] = 'crenopolis',
}
function Infobox:set_episode_class(ep_param)
ep_param = string.lower(ep_param or '')
if episode_classes[ep_param] ~= nil then
self:addClass('infobox-'..episode_classes[ep_param])
end
end
 
--[[