Template:BrowseMap/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:BrowseMap. It contains usage information, categories and other content or metadata that is not part of the original template. |
Usage
{{BrowseMap|lat=X|lon=Y|zoom=Z|layers=...|text=XY|name=NN}}
layers
is optional.
text
has a higher priority; if not given,name
is used.
Examples:
{{BrowseMap|lat=49.5013947|lon=6.5454511|zoom=15|name=Saarschleife}}
{{BrowseMap|lat=49.5013947|lon=6.5454511|zoom=15|text=This is the Saarschleife.}}
TemplateData
Displays a link to OSM map at a specified position.
Parameter | Description | Type | Status | |
---|---|---|---|---|
lattitude | lat | lattitude of the center of the map
| Number | required |
longitude | lon | longitude of the center of the map
| Number | required |
zoom | zoom | Zoom setting of the map view
| Number | suggested |
tile layer (map style) | layers | For optional selection of an alternative tile layer (C=CycleMap/H=Humanitarian/O=ÖPNVKarte/T=TransportMap/Y=CyclOSM)
| Line | suggested |
text | text | For a free text that will be shown as link.
| Line | optional |
name | name | Name of the linked target on the map that is shown behind the default link texg ''Browse map of''.
| Line | suggested |
Translation
The default words that are put in front of name ( "Browse map of" ) are taken from Template:PlaceLang.
There is an automatic translation into the page's language if the translation exists in Template:PlaceLang.
See also
- Template:BrowseMapWithMarker – which shows a marker, but isn't related to an object.
- Template:BrowseObject – which shows an arbitrary object.
- Template:BrowseObjectWithMarker – shows an arbitrary object and a marker.
- Template:BrowseObjectWithPosition – shows an arbitrary object at the specified position.
- Template:CoordLink – another link in the family
- Template:Map – another link in the family