Module:Infobox Item: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 82: Line 82:
infobox:addClass('infobox-questitem')
infobox:addClass('infobox-questitem')
end
end
if infobox:is_param_defined(Infobox.param('buy_price')) == 0 or infobox:get_param(Infobox.param('buy_price'), 0) == 'No' then
if infobox:is_param_defined(Infobox.param('buy_price')) > 0 then
infobox:add_row{
infobox:add_row{
{tag='th', content='Buy Price', colspan="6"},
{tag='th', content='Buy Price', colspan="6"},
Line 88: Line 88:
}
}
end
end
if infobox:is_param_defined(Infobox.param('sell_price')) == 0 or infobox:get_param(Infobox.param('sell_price'), 0) == 'No' then
if infobox:is_param_defined(Infobox.param('sell_price')) > 0 then
infobox:add_row{
infobox:add_row{
{tag='th', content='Sell Price', colspan="6"},
{tag='th', content='Sell Price', colspan="6"},