Module:Infobox Monster: Difference between revisions

60 bytes removed ,  Wednesday at 01:54
+display knowledge only when passive = yes
(+add icon to knowledge th element)
(+display knowledge only when passive = yes)
Line 120:
{tag='td', content=Infobox.param('passive'), colspan="13"},
}
if infobox:get_param(Infobox.param('passive'), 0) ~== 'NoYes' and infobox:is_param_defined(Infobox.param('knowledge')) > 0 then
infobox:add_row{
{tag='th', content='[[File:Knowledge_icon.png|link=Knowledge|width=18x18]] [[Knowledge]]', colspan="7"},
121

edits