User talk:Ashimema/Template1

From OpenStreetMap Wiki
Jump to: navigation, search

Parameters

The following parameters can be passed into the template:

Parameter name Required Purpose
name Yes The name of the place being referred to (eg. Nottingham).
type Yes The type of place. Recognised values are: village, city, town, suburb, hamlet, district, province, region, county, state, country, island/isle.
area Yes The area the place is in (eg. China)
subarea No A subarea of the area (for example a province of china). It is possible to not define the subarea and just use area instead.
lat Yes The latitude of the place.
long Yes The longitude of the place.
zoom No The zoom level to open linked to maps at. Default value is 12.
image No The title of the image to display. No image will be display if image is not defined
sortkey No The sortkey for categories. If sortkey isn't supplied the name of the place will be used as the sortkey.
list No URL of a mailing list for the place. If this is not supplied no archive link will appear.
archive No URL of an archive page for the place. If this is not supplied no archive link will appear.
forum No URL of a forum page for the place. If this is not supplied no forum link will appear.
wikipedia No The article name on wikipedia. Default value is name
BestOfOSM No Inscription in bestofosm.org possibles values are : BestOf/Interesting/Import/Historic, categorize the page in the relevant category