Vorlage:Osm/Doku
Erscheinungsbild
Vorlage:Dokumentation/Seitenhinweis Die Vorlage dient zum Verlinken eines OpenStreetMap-Elements. Diese Elemente können vom Typ Knoten (Punkt, engl. node), Linie (engl. way) oder Relation (engl. relation) sein.
Verlinken eines OpenStreetMap-Elements
| ⧼templatedata-doc-param-name⧽ | ⧼templatedata-doc-param-desc⧽ | ⧼templatedata-doc-param-type⧽ | ⧼templatedata-doc-param-status⧽ | |
|---|---|---|---|---|
| Typ | 1 | Typ: n/nd/node, w/way oder r/rel/relation | ⧼templatedata-doc-param-type-line⧽ | ⧼templatedata-doc-param-status-suggested⧽ |
| ID | 2 | ID des Elements
| ⧼templatedata-doc-param-type-number⧽ | ⧼templatedata-doc-param-status-suggested⧽ |
| Text | text | angezeigter Text
| ⧼templatedata-doc-param-type-line⧽ | ⧼templatedata-doc-param-status-suggested⧽ |
| Tooltip | tooltip | Zusatz zum Tooltip
| ⧼templatedata-doc-param-type-string⧽ | ⧼templatedata-doc-param-status-suggested⧽ |
Kopiervorlage
<syntaxhighlight lang="wikitext" copy> {{#property:P402}} auf OpenStreetMap </syntaxhighlight>
Beispiele
<syntaxhighlight lang="wikitext"> a auf OpenStreetMap </syntaxhighlight> ergibt: a auf OpenStreetMap
<syntaxhighlight lang="wikitext"> Knoten 123456 (auf OSM) </syntaxhighlight> ergibt: Knoten 123456 (auf OSM)
<syntaxhighlight lang="wikitext"> OSM </syntaxhighlight> ergibt: OSM