Module:Infobox Monster: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
(Widening left half a bit.)
Line 68: Line 68:
}
}
:add_row{
:add_row{
{tag='th', content='Release', colspan="6"},
{tag='th', content='Release', colspan="7"},
{tag='td', content=Infobox.param('release'), colspan="14"},
{tag='td', content=Infobox.param('release'), colspan="13"},
}
}
:add_row{
:add_row{
{tag='th', content='[[Episode]]', colspan="6"},
{tag='th', content='[[Episode]]', colspan="7"},
{tag='td', content=Infobox.param('episode'), colspan="14"},
{tag='td', content=Infobox.param('episode'), colspan="13"},
}
}
:add_row{
:add_row{
{tag='th', content='[[Premium Pass|Premium]]', colspan="6"},
{tag='th', content='[[Premium Pass|Premium]]', colspan="7"},
{tag='td', content=Infobox.param('premium'), colspan="14"},
{tag='td', content=Infobox.param('premium'), colspan="13"},
}
}
:add_row{
:add_row{
{tag='th', content='Requirements', colspan="6"},
{tag='th', content='Requirements', colspan="7"},
{tag='td', content=Infobox.param('requirements'), colspan="14"},
{tag='td', content=Infobox.param('requirements'), colspan="13"},
}
}
:add_row{
:add_row{
{tag='th', content='[[Health]]', colspan="6"},
{tag='th', content='[[Health]]', colspan="7"},
{tag='td', content=Infobox.param('hp'), colspan="14"},
{tag='td', content=Infobox.param('hp'), colspan="13"},
}
}
:add_row{
:add_row{
{tag='th', content='Experience', colspan="6"},
{tag='th', content='Experience', colspan="7"},
{tag='td', content=Infobox.param('xp'), colspan="14"},
{tag='td', content=Infobox.param('xp'), colspan="13"},
}
}
if infobox:is_param_defined(Infobox.param('att_style')) > 0 then
if infobox:is_param_defined(Infobox.param('att_style')) > 0 then
infobox:add_row{
infobox:add_row{
{tag='th', content='[[Attack Style]]', colspan="6"},
{tag='th', content='[[Attack Style]]', colspan="7"},
{tag='td', content=Infobox.param('att_style'), colspan="14"},
{tag='td', content=Infobox.param('att_style'), colspan="13"},
}
}
end
end
if infobox:is_param_defined(Infobox.param('immune_to')) > 0 then
if infobox:is_param_defined(Infobox.param('immune_to')) > 0 then
infobox:add_row{
infobox:add_row{
{tag='th', content='Immune to', colspan="6"},
{tag='th', content='Immune to', colspan="7"},
{tag='td', content=Infobox.param('immune_to'), colspan="14"},
{tag='td', content=Infobox.param('immune_to'), colspan="13"},
}
}
end
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{
{tag='th', content='Vulnerable to', colspan="6"},
{tag='th', content='Vulnerable to', colspan="7"},
{tag='td', content=Infobox.param('vulnerable_to'), colspan="14"},
{tag='td', content=Infobox.param('vulnerable_to'), colspan="13"},
}
}
end
end
if infobox:is_param_defined(Infobox.param('variant')) > 0 and infobox:get_param(Infobox.param('variant'), 0) ~= 'N/A' then
if infobox:is_param_defined(Infobox.param('variant')) > 0 and infobox:get_param(Infobox.param('variant'), 0) ~= 'N/A' then
infobox:add_row{
infobox:add_row{
{tag='th', content='[[Variant]] of', colspan="6"},
{tag='th', content='[[Variant]] of', colspan="7"},
{tag='td', content=Infobox.param('variant'), colspan="14"},
{tag='td', content=Infobox.param('variant'), colspan="13"},
}
}
end
end
infobox:add_row{
infobox:add_row{
{tag='th', content='[[File:Passive activity icon.png|14px|link=Passive activity]] [[Passive activity|Passive]]', colspan="6"},
{tag='th', content='[[File:Passive activity icon.png|14px|link=Passive activity]] [[Passive activity|Passive]]', colspan="7"},
{tag='td', content=Infobox.param('passive'), colspan="14"},
{tag='td', content=Infobox.param('passive'), colspan="13"},
}
}
:add_row{
:add_row{
{tag='th', content='[[File:Aggressive activity icon.png|3px|link=Aggressive]] [[Aggressive]]', colspan="6"},
{tag='th', content='[[File:Aggressive activity icon.png|3px|link=Aggressive]] [[Aggressive]]', colspan="7"},
{tag='td', content=Infobox.param('aggressive'), colspan="14"},
{tag='td', content=Infobox.param('aggressive'), colspan="13"},
}
}
:add_row{
:add_row{
{tag='th', content='Examine', colspan="6"},
{tag='th', content='Examine', colspan="7"},
{tag='td', content=Infobox.param('examine'), colspan="14"}
{tag='td', content=Infobox.param('examine'), colspan="13"}
}
}
local bubble_a = infobox:is_param_defined(Infobox.param('profession_bubble_a')) > 0
local bubble_a = infobox:is_param_defined(Infobox.param('profession_bubble_a')) > 0