Editing Module:Infobox Item
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 14: | Line 14: | ||
local params = { |
local params = { |
||
parse.actions, |
parse.actions, |
||
parse. |
parse.name, |
||
parse.rarity_from_name, |
parse.rarity_from_name, |
||
parse.image, |
parse.image, |
||
Line 25: | Line 25: | ||
parse.description, |
parse.description, |
||
parse.variant, |
parse.variant, |
||
parse.bank, |
|||
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 |
-- Include these next params just to export data to smw |
||
parse.variant_name, |
|||
parse.profession_a_smw, |
parse.profession_a_smw, |
||
parse.profession_a_level_smw, |
parse.profession_a_level_smw, |
||
Line 98: | Line 96: | ||
{tag='th', content='[[Variant]] of', colspan="6"}, |
{tag='th', content='[[Variant]] of', colspan="6"}, |
||
{tag='td', content=Infobox.param('variant'), colspan="14"}, |
{tag='td', content=Infobox.param('variant'), colspan="14"}, |
||
} |
|||
end |
|||
if infobox:is_param_defined(Infobox.param('bank')) > 0 then |
|||
infobox:add_row{ |
|||
{tag='th', content='Bank', colspan="6"}, |
|||
{tag='td', content=Infobox.param('bank'), colspan="14"} |
|||
} |
} |
||
end |
end |