Module:Infobox Item: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (Fix strict mode error) |
(Change value to shop buy and shop sell price) |
||
Line 22: | Line 22: | ||
parse.additional_episode, |
parse.additional_episode, |
||
parse.quest, |
parse.quest, |
||
parse. |
parse.shop_buy, |
||
parse.shop_sell, |
|||
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('shop_buy')) > 0 then |
|||
infobox:add_row{ |
|||
{tag='th', content='Shop Buy', colspan="6"}, |
|||
{tag='td', content=Infobox.param('shop_buy'), colspan="14"}, |
|||
} |
|||
end |
|||
if infobox:is_param_defined(Infobox.param('shop_sell')) > 0 then |
|||
infobox:add_row{ |
|||
{tag='th', content='Shop Sell', colspan="6"}, |
|||
{tag='td', content=Infobox.param('shop_sell'), colspan="14"}, |
|||
} |
|||
end |
end |
||
if infobox:is_param_defined(Infobox.param('actions')) > 0 then |
if infobox:is_param_defined(Infobox.param('actions')) > 0 then |