Template:OSM relation/doc

From English Wikipedia @ Freddythechick

Usage

<syntaxhighlight lang="wikitext"> Geographic data related to relation number OSM relation/doc 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/doc at OpenStreetMap</syntaxhighlight> Geographic data related to OSM relation/doc 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

See also