Πρότυπο:Marker
Εμφάνιση
This documentation is transcluded from Πρότυπο:Marker/τεκμηρίωση. (edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
- Function: This template automatically numbers listings (Points of Interest) which have geographical coordinates (latitude and longitude) given and is typically used in-line in the prose of articles.
- Usage:
{{marker|type=|name=|lat=|long=}}
- Required parameters:
|typetype of listing (see, do, buy, eat, drink, sleep, listing, around, city, other, go, vicinity)|namename of listing|latlatitude of listing, valid range: -90.0 to 90.0|longlongitude of listing, valid range: -180.0 to 180.0
- Optional parameters:
|zoomzoom level for the full-screen map that opens when the listing number is clicked – default=17, valid range: 1 to 18 (1=Earth, 18=city block)|urlname of listing becomes a link to the specified URL|imagename of image for the thumbnail that pops up when the map marker is clicked – "File:" prefix not necessary
- Examples:
{{marker|type=see|name=Museum|lat=51.47766|long=0.00115}}{{marker|type=do|name=Theme Park|lat=51.47766|long=0.00115|zoom=15|url=http://www.example.com/|image=Legoland.jpg}}
- Associated template:
- Template:Listing for a full listing
- Dependent on Template:PoiMap2 for external map link.
- Template:TypeToColor converts the "type" value passed to this template to a color using the supported icon set