Module:Infobox Item: Difference between revisions

509 bytes removed ,  Yesterday at 21:38
Undo revision 33969 by Artoire (talk): We only want sell price / value on the card in game
No edit summary
(Undo revision 33969 by Artoire (talk): We only want sell price / value on the card in game)
Tag: Undo
 
(3 intermediate revisions by 2 users not shown)
Line 22:
parse.additional_episode,
parse.quest,
parse.buy_pricevalue,
parse.sell_price,
parse.description,
parse.variant,
parse.profession_bubble_a,
parse.profession_bubble_b,
-- Include these next params just to export data to smw
parse.profession_a_smw,
parse.profession_a_level_smw,
Line 78:
infobox:add_row{
{tag='th', content='Quest', colspan="6"},
{tag='td', content=Infobox.param('quest'), colspan="14" }
}
infobox:addClass('infobox-questitem')
end
if infobox:is_param_defined(Infobox.param('buy_price')) == 0 or infobox:get_param(Infobox.param('buy_price'), 0) == 'No' 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 or infobox:get_param(Infobox.param('sell_price'), 0) == 'No' then
infobox:add_row{
{tag='th', content='Sell Price', colspan="6"},
{tag='td', content=Infobox.param('sell_price'), colspan="14"},
}
end
if infobox:is_param_defined(Infobox.param('actions')) > 0 then
121

edits