Module:Infobox Item: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Change value to shop buy and shop sell price) |
No edit summary |
||
Line 22: | Line 22: | ||
parse.additional_episode, |
parse.additional_episode, |
||
parse.quest, |
parse.quest, |
||
parse. |
parse.buy_price, |
||
parse. |
parse.sell_price, |
||
parse.description, |
parse.description, |
||
parse.variant, |
parse.variant, |
||
Line 82: | Line 82: | ||
infobox:addClass('infobox-questitem') |
infobox:addClass('infobox-questitem') |
||
end |
end |
||
if infobox:is_param_defined(Infobox.param(' |
if infobox:is_param_defined(Infobox.param('buy_price')) == 0 or infobox:get_param(Infobox.param('buy_price'), 0) == 'No' then |
||
infobox:add_row{ |
infobox:add_row{ |
||
{tag='th', content=' |
{tag='th', content='Buy Price', colspan="6"}, |
||
{tag='td', content=Infobox.param(' |
{tag='td', content=Infobox.param('buy_price'), colspan="14"}, |
||
} |
} |
||
end |
end |
||
if infobox:is_param_defined(Infobox.param(' |
if infobox:is_param_defined(Infobox.param('sell_price')) == 0 or infobox:get_param(Infobox.param('sell_price'), 0) == 'No' then |
||
infobox:add_row{ |
infobox:add_row{ |
||
{tag='th', content=' |
{tag='th', content='Sell Price', colspan="6"}, |
||
{tag='td', content=Infobox.param(' |
{tag='td', content=Infobox.param('sell_price'), colspan="14"}, |
||
} |
} |
||
end |
end |