Module:Infobox Item: Difference between revisions

Remove the double infobox-bubble class to only appear in tr
(Working on profession bubbles, might break temporarily)
(Remove the double infobox-bubble class to only appear in tr)
Line 61:
if bubble_a and bubble_b then
infobox:add_row{
{tag='td', content=Infobox.param('profession_bubble_a'), class='infobox-bubble', colspan="10"},
{tag='td', content=Infobox.param('profession_bubble_b'), class='infobox-bubble', colspan="10"},
addClass = 'infobox-bubble'
}
elseif bubble_a then
infobox:add_row{
{tag='td', content=Infobox.param('profession_bubble_a'), class='infobox-bubble', colspan="20"},
addClass = 'infobox-bubble'
}
elseif bubble_b then
infobox:add_row{
{tag='td', content=Infobox.param('profession_bubble_b'), class='infobox-bubble', colspan="20"},
addClass = 'infobox-bubble'
}