Module:Infobox Item: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Add support for 2 episodes on a single item)
No edit summary
Line 9: Line 9:
local config = {
local config = {
infobox_name = 'Item',
infobox_name = 'Item',
class = {Infobox.smw_param('episode'), Infobox.smw_param('additional_episode')},
class = {Infobox.smw_param('episode')},
}
}
Line 52: Line 52:
{tag='td', content=Infobox.param('additional_episode'), colspan="14"},
{tag='td', content=Infobox.param('additional_episode'), colspan="14"},
}
}
infobox:addClass(infobox:get_param(Infobox.smw_param('additional_episode')..'-additional', 0))
else
else
infobox:add_row{
infobox:add_row{