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 20: | Line 20: | ||
parse.value, |
parse.value, |
||
parse.examine, |
parse.examine, |
||
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_level_smw, |
|||
parse.profession_b_smw, |
|||
parse.profession_b_level_smw, |
|||
} |
} |
||
Line 58: | Line 52: | ||
{tag='td', content=Infobox.param('examine'), colspan="14"} |
{tag='td', content=Infobox.param('examine'), colspan="14"} |
||
} |
} |
||
if infobox:is_param_defined(Infobox.param('variant')) > 0 then |
|||
infobox:add_row{ |
|||
{tag='th', content='[[Variant]] of', colspan="6"}, |
|||
{tag='td', content=Infobox.param('variant'), colspan="14"}, |
|||
} |
|||
end |
|||
local bubble_a = infobox:is_param_defined(Infobox.param('profession_bubble_a')) > 0 |
local bubble_a = infobox:is_param_defined(Infobox.param('profession_bubble_a')) > 0 |
||
local bubble_b = infobox:is_param_defined(Infobox.param('profession_bubble_b')) > 0 |
local bubble_b = infobox:is_param_defined(Infobox.param('profession_bubble_b')) > 0 |
||
Line 82: | Line 70: | ||
addClass = 'infobox-bubble-row' |
addClass = 'infobox-bubble-row' |
||
} |
} |
||
else |
|||
infobox:pad('20') |
|||
end |
end |
||