Module:Infobox Scenery: Difference between revisions

m
make actions optional
(Adding actions.)
m (make actions optional)
 
Line 42:
{tag='td', content=Infobox.param('premium'), colspan="14"},
}
:add_row{
if infobox:is_param_defined(Infobox.param('actions')) > 0 then
infobox:add_row{
{tag='th', content='Actions', colspan="6"},
{tag='td', content=Infobox.param('actions'), colspan="14"},
}
end
infobox
:add_row{
{tag='th', content='Description', colspan="6"},
215

edits