Module:Infobox Shop: Difference between revisions
Description was just copying the description of the owner. Shops don't have descriptions.
No edit summary |
Thingummywut (talk | contribs) (Description was just copying the description of the owner. Shops don't have descriptions.) Tag: Manual revert |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 9:
local config = {
infobox_name = 'Shop',
class = {Infobox.smw_param('episode')},
}
Line 18 ⟶ 19:
parse.episode,
{name = 'owner', func = parse.has_content, smw_property = 'Shop owner'},
{name = 'location', func = parse.has_content, smw_property = 'Location', category_incomplete = 'Needs location'},
}
Line 43 ⟶ 45:
{tag='th', content='Owner', colspan="6"},
{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)
return infobox
|