Module:Infobox Monster: Difference between revisions

there is an attempt
No edit summary
(there is an attempt)
Line 3:
local Infobox = require('Module:Infobox')
local parse = require('Module:Param Parse')
 
local classMap = {
['Hopeport'] = 'hopeport',
['Hopeforest'] = 'hopeforest',
['Mine of Mantuban'] = 'mantuban',
['Crenopolis'] = 'crenopolis',
}
 
function p.main(frame)
Line 70 ⟶ 77:
}
:pad(20)
local ep_param = Infobox.raw_param('episode');
if classMap[ep_param] ~= nil then
infobox.addClass('infobox-'..classMap[ep_param])
end
return infobox