Module:Infobox Monster: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
m (Use varianted names (show name on two lines and with colours))
(Add quest parameter for quest enemies)
Line 18: Line 18:
parse.premium,
parse.premium,
parse.episode,
parse.episode,
parse.quest,
parse.unlock_level,
parse.unlock_level,
parse.health,
parse.health,
Line 55: Line 56:
{tag='td', content=Infobox.param('episode'), colspan="13"},
{tag='td', content=Infobox.param('episode'), colspan="13"},
}
}

if infobox:is_param_defined(Infobox.param('quest')) ~= 0 or infobox:get_param(Infobox.param('quest'), 0) ~= 'No' then
infobox:add_row{
{tag='th', content='Quest', colspan="6"},
{tag='td', content=Infobox.param('quest'), colspan="14"}
}
end

infobox
:add_row{
:add_row{
{tag='th', content='[[Premium Pass|Premium]]', colspan="7"},
{tag='th', content='[[Premium Pass|Premium]]', colspan="7"},