Module:Infobox Item: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Tag: Manual revert
Line 22: Line 22:
parse.additional_episode,
parse.additional_episode,
parse.quest,
parse.quest,
parse.buy_price,
parse.value,
parse.sell_price,
parse.description,
parse.description,
parse.variant,
parse.variant,
parse.profession_bubble_a,
parse.profession_bubble_a,
parse.profession_bubble_b,
parse.profession_bubble_b,
-- Include these next params just to export data to smw
parse.profession_a_smw,
parse.profession_a_smw,
parse.profession_a_level_smw,
parse.profession_a_level_smw,
Line 78: Line 78:
infobox:add_row{
infobox:add_row{
{tag='th', content='Quest', colspan="6"},
{tag='th', content='Quest', colspan="6"},
{tag='td', content=Infobox.param('quest'), colspan="14" }
{tag='td', content=Infobox.param('quest'), colspan="14"}
}
}
infobox:addClass('infobox-questitem')
infobox:addClass('infobox-questitem')
end
if infobox:is_param_defined(Infobox.param('buy_price')) > 0 then
infobox:add_row{
{tag='th', content='Buy Price', colspan="6"},
{tag='td', content=Infobox.param('buy_price'), colspan="14"},
}
end
if infobox:is_param_defined(Infobox.param('sell_price')) > 0 then
infobox:add_row{
{tag='th', content='Sell Price', colspan="6"},
{tag='td', content=Infobox.param('sell_price'), colspan="14"},
}
end
end
if infobox:is_param_defined(Infobox.param('actions')) > 0 then
if infobox:is_param_defined(Infobox.param('actions')) > 0 then