Module:Infobox NPC: Difference between revisions
Adding actions.
InvalidCards (talk | contribs) (I don't think NPCs have professions) |
Thingummywut (talk | contribs) (Adding actions.) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 13:
local params = {
parse.actions,
parse.name,
parse.image,
Line 18 ⟶ 19:
parse.premium,
parse.episode,
{name = 'shop', func = parse.has_content, smw_property = 'Shop'}, -- TODO - move to Module:Param Parse once more details are available, and create property page
parse.
}
Line 42:
{tag='th', content='[[Premium Pass|Premium]]', colspan="6"},
{tag='td', content=Infobox.param('premium'), colspan="14"},
:add_row{▼
{tag='th', content='Location', colspan="6"},▼
{tag='td', content=Infobox.param('location'), colspan="14"},▼
}
if infobox:is_param_defined(Infobox.param('shop')) > 0 then
Line 54 ⟶ 50:
end
infobox:add_row{
{tag='th', content='
{tag='td', content=Infobox.param('
}
}
:pad(20)
|