Module:Infobox Shop: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
m (Add examine as a potential value to module (can be found in the info option on the shop))
(Changing from examine to description; there is no examining in this game. Still supports giving the param as "examine", though.)
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,
{name = 'examine', func = parse.has_content, smw_property = 'Examine', category_incomplete = 'Needs examine'},
}
}
Line 52: Line 52:
}
}
:add_row{
:add_row{
{tag='th', content='Examine', colspan="6"},
{tag='th', content='Description', colspan="6"},
{tag='td', content=Infobox.param('examine'), colspan="14"},
{tag='td', content=Infobox.param('description'), colspan="14"},
}
}
:pad(20)
:pad(20)