Module:Infobox Item: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Undo revision 15909 by The Gaffer (talk) This is already set via Template:ShopLine)
Tag: Undo
No edit summary
Line 19: Line 19:
parse.episode,
parse.episode,
parse.additional_episode,
parse.additional_episode,
parse.quest,
parse.value,
parse.value,
parse.examine,
parse.examine,
Line 67: Line 68:
{tag='td', content=Infobox.param('premium'), colspan="14"},
{tag='td', content=Infobox.param('premium'), colspan="14"},
}
}
if infobox:is_param_defined(Infobox.param('quest')) == 0 or infobox:get_param(Infobox.param('quest', 0) == 'No') then
:add_row{
infobox:add_row{
{tag='th', content='Value', colspan="6"},
{tag='td', content=Infobox.param('value'), colspan="14"},
{tag='th', content='Value', colspan="6"},
{tag='td', content=Infobox.param('value'), colspan="14"},
}
}
:add_row{
else
infobox:add_row{
{tag='th', content='Quest', colspan="6"},
{tag='td', content=Infobox.param('quest'), colspan="14"}
}
infobox:addClass('infobox-questitem')
end
infobox:add_row{
{tag='th', content='Examine', colspan="6"},
{tag='th', content='Examine', colspan="6"},
{tag='td', content=Infobox.param('examine'), colspan="14"}
{tag='td', content=Infobox.param('examine'), colspan="14"}