Template:BrowseRelationTxt

From OpenStreetMap Wiki
Jump to: navigation, search


This template can be useful in tables and is an extension of Template:BrowseRelation. The difference is that there is one more text link to OSM. The text can be defined by a language, passed as a parameter:

  • en — “See on the map” (English)
  • ru — “Посмотреть на карте” (Russian)
  • any — User-defined string.

List of languages can be extended. The template helps users that are not familiar with OSM not to become confused.

Example

{{BrowseRouteTxt|12345|en}} produces:
See on the map →
Relation 12345 (XML, Potlatch2, iD, JOSM, history, analyze, manage, gpx)

{{BrowseRouteTxt|12345|ru}} produces:
Посмотреть на карте →
Relation 12345 (XML, Potlatch2, iD, JOSM, history, analyze, manage, gpx)

{{BrowseRouteTxt|12345|在地圖上查看}} produces:
在地圖上查看 →
Relation 12345 (XML, Potlatch2, iD, JOSM, history, analyze, manage, gpx)


Usage examples

RU:Penza/Public transport (ru)