Module:Infobox Shop: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
m (Add examine as a potential value to module (can be found in the info option on the shop))
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'},
{name = 'examine', func = parse.has_content, smw_property = 'Examine', category_incomplete = 'Needs examine'},
}
}
Line 49: Line 50:
{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='Examine', colspan="6"},
{tag='td', content=Infobox.param('examine'), colspan="14"},
}
}
:pad(20)
:pad(20)