Editing Module:Infobox NPC
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 9: | Line 9: | ||
local config = { |
local config = { |
||
infobox_name = 'NPC', |
infobox_name = 'NPC', |
||
class = {Infobox.smw_param('episode')}, |
|||
} |
} |
||
Line 18: | Line 17: | ||
parse.premium, |
parse.premium, |
||
parse.episode, |
parse.episode, |
||
{name = 'location', func = parse.has_content, smw_property = 'Location', category_incomplete = 'Needs location'}, |
|||
parse.profession, |
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, |
|||
} |
} |
||
Line 43: | Line 40: | ||
{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"}, |
|||
} |
} |
||
:add_row{ |
:add_row{ |
||
Line 58: | Line 51: | ||
} |
} |
||
end |
end |
||
infobox: |
infobox:pad(20) |
||
{tag='th', content='Examine', colspan="6"}, |
|||
{tag='td', content=Infobox.param('examine'), colspan="14"} |
|||
} |
|||
:pad(20) |
|||
return infobox |
return infobox |