Module:Infobox Item: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Remove the double infobox-bubble class to only appear in tr) |
No edit summary |
||
Line 61: | Line 61: | ||
if bubble_a and bubble_b then |
if bubble_a and bubble_b then |
||
infobox:add_row{ |
infobox:add_row{ |
||
{tag='td', content=Infobox.param('profession_bubble_a'), colspan="10"}, |
{tag='td', content=Infobox.param('profession_bubble_a'), class='infobox-bubble-item', colspan="10"}, |
||
{tag='td', content=Infobox.param('profession_bubble_b'), colspan="10"}, |
{tag='td', content=Infobox.param('profession_bubble_b'), class='infobox-bubble-item', colspan="10"}, |
||
addClass = 'infobox-bubble' |
addClass = 'infobox-bubble-row' |
||
} |
} |
||
elseif bubble_a then |
elseif bubble_a then |
||
infobox:add_row{ |
infobox:add_row{ |
||
{tag='td', content=Infobox.param('profession_bubble_a'), colspan="20"}, |
{tag='td', content=Infobox.param('profession_bubble_a'), class='infobox-bubble-item', colspan="20"}, |
||
addClass = 'infobox-bubble' |
addClass = 'infobox-bubble-row' |
||
} |
} |
||
elseif bubble_b then |
elseif bubble_b then |
||
infobox:add_row{ |
infobox:add_row{ |
||
{tag='td', content=Infobox.param('profession_bubble_b'), colspan="20"}, |
{tag='td', content=Infobox.param('profession_bubble_b'), class='infobox-bubble-item', colspan="20"}, |
||
addClass = 'infobox-bubble' |
addClass = 'infobox-bubble-row' |
||
} |
} |
||
end |
end |