Template:OSM relation

NO LABEL (P402) (see uses)
Usage
<syntaxhighlight lang="wikitext">
Geographic data related to relation number OSM relation at OpenStreetMap
</syntaxhighlight>
This template creates an inline link to an OpenStreetMap relation.
- Full syntax
<syntaxhighlight lang="wikitext">
Geographic data related to relation number Link text at OpenStreetMap
</syntaxhighlight>
The first value from Wikidata is used if the first parameter is empty.
- Normal
<syntaxhighlight lang="wikitext"> Geographic data related to OSM relation at OpenStreetMap</syntaxhighlight>
Geographic data related to OSM relation at OpenStreetMap
- Text override
<syntaxhighlight lang="wikitext"> Geographic data related to Bundesautobahn 2 at OpenStreetMap</syntaxhighlight>
Geographic data related to Bundesautobahn 2 at OpenStreetMap
- Using
|plain=yes
- Normal
<syntaxhighlight lang="wikitext">View at OpenStreetMap</syntaxhighlight> View at OpenStreetMap
- Text override
<syntaxhighlight lang="wikitext">Bundesautobahn 2</syntaxhighlight> Bundesautobahn 2
- Using
|link=no
<syntaxhighlight lang="wikitext"> Geographic data related to Bundesautobahn 2 at OpenStreetMap</syntaxhighlight>
Geographic data related to Bundesautobahn 2 at OpenStreetMap