Module:Infobox Monster: Difference between revisions

no edit summary
(yahoo!)
No edit summary
Line 5:
 
local classMap = {
['Hopeporthopeport'] = 'hopeport',
['Hopeforesthopeforest'] = 'hopeforest',
['Minemine of Mantubanmantuban'] = 'mantuban',
['Crenopoliscrenopolis'] = 'crenopolis',
}
 
Line 79:
local ep_param = infobox.args_raw['episode']
if classMap[string.lower(ep_param or '')] ~= nil then
infobox:addClass('infobox-'..classMap[string.lower(ep_param or '')])
end