Module:Infobox Item: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
m (make actions param optional)
m (oops accidentally hid descriptions)
Line 86: Line 86:
{tag='th', content='Actions', colspan="6"},
{tag='th', content='Actions', colspan="6"},
{tag='td', content=Infobox.param('actions'), colspan="14"}
{tag='td', content=Infobox.param('actions'), colspan="14"}
}
infobox:add_row{
{tag='th', content='Description', colspan="6"},
{tag='td', content=Infobox.param('description'), colspan="14"}
}
}
end
end
infobox:add_row{
{tag='th', content='Description', colspan="6"},
{tag='td', content=Infobox.param('description'), colspan="14"}
}
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{