Module:Infobox Scenery: Difference between revisions
m
make actions optional
No edit summary |
Microbrews (talk | contribs) m (make actions optional) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 13:
local params = {
parse.actions,
parse.name,
parse.image,
Line 18 ⟶ 19:
parse.premium,
parse.episode,
parse.
}
Line 41 ⟶ 42:
{tag='td', content=Infobox.param('premium'), colspan="14"},
}
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='
{tag='td', content=Infobox.param('
}
:pad(20)
|