Module:Infobox Monster: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Add support for unlock_level param)
(+support for knowledge points)
Line 48: Line 48:
parse.variant,
parse.variant,
parse.passive,
parse.passive,
parse.knowledge,
parse.aggressive,
parse.aggressive,
parse.examine,
parse.examine,
Line 116: Line 117:
end
end
infobox:add_row{
infobox:add_row{
{tag='th', content='[[File:Passive activity icon.png|14px|link=Passive activity]] [[Passive activity|Passive]]', colspan="7"},
{tag='th', content='[[File:Passive activity icon.png|14px|link=Passive activity]] [[Passive activity|Passive]]', colspan="7"},
{tag='td', content=Infobox.param('passive'), colspan="13"},
{tag='td', content=Infobox.param('passive'), colspan="13"},
}
if infobox:is_param_defined(Infobox.param('knowledge')) > 0 then
infobox:add_row{
{tag='th', content='Knowledge', colspan="7"},
{tag='td', content=Infobox.param('knowledge'), colspan="13"},
}
}
end
:add_row{
infobox:add_row{
{tag='th', content='[[File:Aggressive activity icon.png|3px|link=Aggressive]] [[Aggressive]]', colspan="7"},
{tag='th', content='[[File:Aggressive activity icon.png|3px|link=Aggressive]] [[Aggressive]]', colspan="7"},
{tag='td', content=Infobox.param('aggressive'), colspan="13"},
{tag='td', content=Infobox.param('aggressive'), colspan="13"},