Module:Infobox Skill Node: Difference between revisions
no edit summary
InvalidCards (talk | contribs) (Better words) |
No edit summary |
||
(13 intermediate revisions by 6 users not shown) | |||
Line 18:
parse.premium,
parse.episode,
parse.profession,▼
parse.variant,
parse.passive,
parse.
parse.profession_bubble_a,
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_a_level_high_smw,
parse.profession_b_smw,
parse.profession_b_level_smw,
parse.profession_b_level_high_smw,
}
Line 45 ⟶ 53:
{tag='td', content=Infobox.param('premium'), colspan="14"},
}
if infobox:is_param_defined(Infobox.param('variant')) > 0 and infobox:get_param(Infobox.param('variant'), 0) ~= 'N/A' then
infobox:add_row{
{tag='td', content=Infobox.param('level'), colspan="14"}▼
}▼
:add_row{▼
{tag='td', content=Infobox.param('profession'), colspan="14"},▼
}▼
:add_row{▼
{tag='th', content='[[Variant]] of', colspan="6"},
{tag='td', content=Infobox.param('variant'), colspan="14"},
}
end
:add_row{▼
infobox:add_row{
{tag='th', content='[[File:Passive activity icon.png|14px|link=Passive activity]] [[Passive activity|Passive]]', colspan="6"},
{tag='td', content=Infobox.param('passive'), colspan="14"},
}
:add_row{
{tag='th', content='
{tag='td', content=Infobox.param('
▲ }
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
if bubble_a and bubble_b then
▲ infobox:add_row{
▲ {tag='td', content=Infobox.param('
▲ {tag='td', content=Infobox.param('
addClass = 'infobox-bubble-row'
▲ }
elseif bubble_a then
▲ infobox:add_row{
{tag='td', content=Infobox.param('profession_bubble_a'), class='infobox-bubble-item', colspan="20"},
addClass = 'infobox-bubble-row'
}
elseif bubble_b then
▲ infobox:add_row{
{tag='td', content=Infobox.param('profession_bubble_b'), class='infobox-bubble-item', colspan="20"},
addClass = 'infobox-bubble-row'
}
else
infobox:pad('20')
end
return infobox
|