Template:OSM relation

From HandWiki
Revision as of 12:07, 31 January 2021 by imported>Jworkorg (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation[view] [edit] [history] [purge]

Usage

{{OSM relation|OpenStreetMap relation number}}

This template creates an inline link to an OpenStreetMap relation.

Full syntax
{{OSM relation|OpenStreetMap relation number|Link text}}

The first value from Wikidata is used if the first parameter is empty.

  • Normal
{{OSM relation|21032}}

Geographic data related to OSM relation at OpenStreetMap

  • Text override
{{OSM relation|21032|Bundesautobahn 2}}

Geographic data related to Bundesautobahn 2 at OpenStreetMap

Using |plain=yes
  • Normal
{{OSM relation|21032|plain=yes}}

View at OpenStreetMap

  • Text override
{{OSM relation|21032|Bundesautobahn 2|plain=yes}}

Bundesautobahn 2

Using |link=no
{{OSM relation|21032|Bundesautobahn 2|link=no}}

Geographic data related to Bundesautobahn 2 at OpenStreetMap

See also