Module:Infobox Monster: Difference between revisions

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

edits