Module:Infobox Item: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Working on profession bubbles, might break temporarily) |
(Remove the double infobox-bubble class to only appear in tr) |
||
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') |
{tag='td', content=Infobox.param('profession_bubble_a'), colspan="10"}, |
||
{tag='td', content=Infobox.param('profession_bubble_b') |
{tag='td', content=Infobox.param('profession_bubble_b'), colspan="10"}, |
||
addClass = 'infobox-bubble' |
addClass = 'infobox-bubble' |
||
} |
} |
||
elseif bubble_a then |
elseif bubble_a then |
||
infobox:add_row{ |
infobox:add_row{ |
||
{tag='td', content=Infobox.param('profession_bubble_a') |
{tag='td', content=Infobox.param('profession_bubble_a'), colspan="20"}, |
||
addClass = 'infobox-bubble' |
addClass = 'infobox-bubble' |
||
} |
} |
||
elseif bubble_b then |
elseif bubble_b then |
||
infobox:add_row{ |
infobox:add_row{ |
||
{tag='td', content=Infobox.param('profession_bubble_b') |
{tag='td', content=Infobox.param('profession_bubble_b'), colspan="20"}, |
||
addClass = 'infobox-bubble' |
addClass = 'infobox-bubble' |
||
} |
} |