Module:Infobox NPC: Difference between revisions

Move NPC locations to loclines as well
(I don't think NPCs have professions)
(Move NPC locations to loclines as well)
Line 18:
parse.premium,
parse.episode,
{name = 'location', func = parse.has_content, smw_property = 'Located in', category_incomplete = 'Needs location'},
{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.examine,
Line 42 ⟶ 41:
{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