Usage
- Search Openstreetmap independently of wikidata tags
{{#invoke:OSM|overpass}}
- Search Openstreetmap for items which have wikidata=Q....
{{#invoke:OSM|wd}}
- Search Openstreetmap for items which have name:etymology:wikidata=Q....
{{#invoke:OSM|etym}}
- Search Openstreetmap for items which have subject:wikidata=Q....
{{#invoke:OSM|subject}}
- Search Openstreetmap for items which have artist:wikidata=Q....
{{#invoke:OSM|artist}}
- Search Openstreetmap for items which have architect:wikidata=Q....
{{#invoke:OSM|architect}}
- Search Openstreetmap for items which have operator:wikidata=Q....
{{#invoke:OSM|operator}}
- Search Openstreetmap for items which have brand:wikidata=Q....
{{#invoke:OSM|brand}}
- Search Openstreetmap for public transport lines related to the current article
{{#invoke:OSM|pt}}
Parameters
- display : Text shown on outgoing link
- link : defaults to yes, but can be set to no for use in other templates
- timeout : defaults to 15 seconds, needs to be set higher for more complicated queries
- id : can link to a 1 or more Q-numbers of wikidata items, defaults to the Q-number id of the calling page
- query : makes it possible to extend the query, which can be used to limit the search to highways or tombstones
- prim : only fetch node, way and/or relation primitives
- coord : coordinates and a zoom factor in this format: 47.0618984;15.4370248;17 from which a bbox will be determined.
- limitToBBOX: defaults to yes. If coord is set the query is limited to the resulting bbox
- run : defaults to yes. Use no if you want the user to be able to move the map or change the query before searching
- style : it's possible to define a MapCSS style to presenet the result in a nicer way
Test values
test_brand
test_etym
test_pt
test_subject
test_wd