Module:Infobox NPC: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
InvalidCards (talk | contribs) (I don't think NPCs have professions) |
||
Line 19: | Line 19: | ||
parse.episode, |
parse.episode, |
||
{name = 'location', func = parse.has_content, smw_property = 'Located in', category_incomplete = 'Needs location'}, |
{name = 'location', func = parse.has_content, smw_property = 'Located in', category_incomplete = 'Needs location'}, |
||
parse.profession, |
|||
{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 47: | Line 46: | ||
{tag='th', content='Location', colspan="6"}, |
{tag='th', content='Location', colspan="6"}, |
||
{tag='td', content=Infobox.param('location'), colspan="14"}, |
{tag='td', content=Infobox.param('location'), colspan="14"}, |
||
} |
|||
:add_row{ |
|||
{tag='th', content='[[Profession]]', colspan="6"}, |
|||
{tag='td', content=Infobox.param('profession'), colspan="14"}, |
|||
} |
} |
||
if infobox:is_param_defined(Infobox.param('shop')) > 0 then |
if infobox:is_param_defined(Infobox.param('shop')) > 0 then |