Module:Infobox Monster: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(+add icon to knowledge th element) |
(+display knowledge only when passive = yes) |
||
Line 120: | Line 120: | ||
{tag='td', content=Infobox.param('passive'), colspan="13"}, |
{tag='td', content=Infobox.param('passive'), colspan="13"}, |
||
} |
} |
||
if infobox:get_param(Infobox.param('passive'), 0) |
if infobox:get_param(Infobox.param('passive'), 0) == 'Yes' then |
||
infobox:add_row{ |
infobox:add_row{ |
||
{tag='th', content='[[File:Knowledge_icon.png|link=Knowledge|width=18x18]] [[Knowledge]]', colspan="7"}, |
{tag='th', content='[[File:Knowledge_icon.png|link=Knowledge|width=18x18]] [[Knowledge]]', colspan="7"}, |