Module:Infobox Shop: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Changing from examine to description; there is no examining in this game. Still supports giving the param as "examine", though.)
(Description was just copying the description of the owner. Shops don't have descriptions.)
Tag: Manual revert
 
Line 20: Line 20:
{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'},
{name = 'location', func = parse.has_content, smw_property = 'Location', category_incomplete = 'Needs location'},
parse.description,
}
}
Line 50: Line 49:
{tag='th', content='Located in', colspan="6"},
{tag='th', content='Located in', colspan="6"},
{tag='td', content=Infobox.param('location'), colspan="14"},
{tag='td', content=Infobox.param('location'), colspan="14"},
}
:add_row{
{tag='th', content='Description', colspan="6"},
{tag='td', content=Infobox.param('description'), colspan="14"},
}
}
:pad(20)
:pad(20)