Матеріал з Вікімандрів
Перейти до навігації Перейти до пошуку


  • Function: This template creates a POI marker in the article and also in a map.
  • Usage: {{Poi|1|2|3|4|5|6|7}}
  • Required parameters:
|1 number of POI ; valid range: 1-999.
|2 color or type; valid values: color names of the CSS 3 specification, but only this icon collection is available today.
|3 Latitude; valid range: -90.0 ... +90.0.
|4 Longitude; valid range: -180.0 ... +180.0.
|5 description; valid values​​: complete character set.
  • Optional parameters:
|6 short path to image on commons
|7 layer; valid values​​: M = Mapnik (OSM), C = CyleMap
  • Example:
{{Poi|2|see|51.50801|-0.07605|Tower of London}} results in: Шаблон:Layers&lang=uk&name=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD:Poi  2  in article and a POI marker in the map.
  • Associated template:
Template:PoiMap2 for displaying a map.
  • Hint:
This map may be used to "click & copy" the complete template call.