Editing Module:Infobox Shop
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 = 'Shop', |
infobox_name = 'Shop', |
||
class = {Infobox.smw_param('episode')}, |
|||
} |
} |
||
Line 19: | Line 18: | ||
parse.episode, |
parse.episode, |
||
{name = 'owner', func = parse.has_content, smw_property = 'Shop owner'}, |
{name = 'owner', func = parse.has_content, smw_property = 'Shop owner'}, |
||
{name = 'location', func = parse.has_content, smw_property = 'Location', category_incomplete = 'Needs location'}, |
|||
} |
} |
||
Line 45: | Line 43: | ||
{tag='th', content='Owner', colspan="6"}, |
{tag='th', content='Owner', colspan="6"}, |
||
{tag='td', content=Infobox.param('owner'), colspan="14"}, |
{tag='td', content=Infobox.param('owner'), colspan="14"}, |
||
} |
|||
:add_row{ |
|||
{tag='th', content='Located in', colspan="6"}, |
|||
{tag='td', content=Infobox.param('location'), colspan="14"}, |
|||
} |
} |
||
:pad(20) |
:pad(20) |
||
:set_episode_class(infobox.args_raw['episode']) |
|||
return infobox |
return infobox |