Перейти к содержанию

Шаблон:Poi

Материал из Wikivoyage
  • Function: This template creates a POI marker in the article and also in the map. [1]
  • Usage: {{Poi|1|2|3|4|5}}
  • Required parameters:
|1 number of POI ; valid range: 1-999.
|2 color; valid values: color names of the CSS 3 specification, common values: red  1 , gold  1 , lime  1 , blue  1  and magenta  1 .
|3 latitude; valid range: -90.0 ... +90.0.
|4 longitude; valid range: -180.0 ... +180.0.
|5 description; valid values​​: complete character set.
  • Example:
{{Poi|2|red|51.50801|-0.07605|Tower of London}} results in:  2  in article and a POI marker in the map. [1]
  • Template for copying:
{{Poi|nr|color|lat|lon|description}}
  • Associated templates:
Template:PoiMap2 for displaying a map.
  1. 1 2 In conjunction with Template:PoiMap2.