Module:Infobox Monster: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 86: Line 86:
{tag='th', content='[[Attack Style]]', colspan="7"},
{tag='th', content='[[Attack Style]]', colspan="7"},
{tag='td', content=Infobox.param('attack_style'), colspan="13"},
{tag='td', content=Infobox.param('attack_style'), colspan="13"},
}
end
if infobox:is_param_defined(Infobox.param('immune_to')) > 0 then
infobox:add_row{
{tag='th', content='Immune to', colspan="7"},
{tag='td', content=Infobox.param('immune_to'), colspan="13"},
}
}
end
end
if infobox:get_param(Infobox.param('passive'), 0) == 'No' then
if infobox:get_param(Infobox.param('passive'), 0) == 'No' then
if infobox:is_param_defined(Infobox.param('immune_to')) > 0 then
infobox:add_row{
{tag='th', content='Immune to', colspan="7"},
{tag='td', content=Infobox.param('immune_to'), colspan="13"},
}
end
if infobox:is_param_defined(Infobox.param('vulnerable_to')) > 0 then
if infobox:is_param_defined(Infobox.param('vulnerable_to')) > 0 then
infobox:add_row{
infobox:add_row{