Module:Infobox Transmog: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
(event param is optional)
Line 33: Line 33:
{tag='td', content=Infobox.param('release'), colspan="14"},
{tag='td', content=Infobox.param('release'), colspan="14"},
}
}
if infobox:is_param_defined(Infobox.param('event')) > 0 then
:add_row{
infobox:add_row{
{tag='th', content='Event', colspan="6"},
{tag='th', content='Event', colspan="6"},
{tag='td', content=Infobox.param('event'), colspan="14"},
{tag='td', content=Infobox.param('event'), colspan="14"},
}
}
end
:add_row{
infobox:
add_row{
{tag='th', content='Slot', colspan="6"},
{tag='th', content='Slot', colspan="6"},
{tag='td', content=Infobox.param('slot'), colspan="14"},
{tag='td', content=Infobox.param('slot'), colspan="14"},