Module:Infobox NPC: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(I don't think NPCs have professions)
(Move NPC locations to loclines as well)
 
Line 18: Line 18:
parse.premium,
parse.premium,
parse.episode,
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
{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,
parse.examine,
Line 42: Line 41:
{tag='th', content='[[Premium Pass|Premium]]', colspan="6"},
{tag='th', content='[[Premium Pass|Premium]]', colspan="6"},
{tag='td', content=Infobox.param('premium'), colspan="14"},
{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
if infobox:is_param_defined(Infobox.param('shop')) > 0 then