Template:Poi/doc

From CruisersWiki

Revision as of 17:40, 30 March 2016 by Istioploos (Talk | contribs)
Jump to: navigation, search

This template is used to list POIs (POI stands for <a href="http://en.wikipedia.org/wiki/Point_of_interest" class="extiw" title="wikipedia:Point of interest">point of interest</a>).

In a wiki article a POI denotes some geographic location like a city, port or an anchorage. Such a POI must have a name and a type, also it should have some geographic coordinates and a description text.

There are two styles in using this template.

Usage


Lat, Lon style
{{poi 
| lat= | lon=
| type=
| name=
| text=
}}

Here the coordinates are defined by lat and lon parameters represented in decimal degrees (negative values denote either S or W hemispheres).

DD°M.M'H style
{{poi 
|DD|M.M|N|DDD|M.M|E
| type=
| name=
| text=
}}

Coordinates in this format are quite useful then <a _fcknotitle="true" href="Template:Coord">Template:Coord</a> locations are converted into <a _fcknotitle="true" href="Template:Poi">Template:Poi</a> and similar templates.

In this case the coordinates of a location are represented by 6 positional parameters. The first 3 parameters are: round number degrees of latitude, minutes of latitude, N or S for hemisphere. The further 3 parameters are the similar to the first group, but they denote the longitude part of a coordinate.

Type

A value of the type parameter should be one of:

  • anchorage
  • harbour
  • berth (for marinas and other moorings at harbour quays, piers, etc.)
  • buoy (for mooring buoys)
  • provisioning (for grocery stores, markets and supermarkets)
  • chandler (for yacht's stores)
  • eatingout (for restaurants, caffes, eateries, etc.)
  • officials
  • facilities
  • service
  • accommodation
  • beach
  • waypoint
  • waterway-canal
  • other

Examples


<a _fcknotitle="true" href="Template:Coord">Template:Coord</a> style:

{{poi 
|41|14.633|N|009|08.904|E
| type= anchorage
| name= Cala Spinosa
| text= A narrow bay W of Baia di Santa Reparata, good holding on sandy patches.
}}

Expands to: Template:PoifckLR

Lat, Lon style:

{{poi
|lat=41.23762|lon=9.1968
|type=berth
|name=Lega Navale di Santa Teresa Gallura
|url=http://www.leganavale.it/strutture/s_teresa_di_gallura/s_teresa_di_gallura
|text= A private yacht club located at the small Eastern inlet just before the marina
}}

Gives: Template:PoifckLR


, and:

{{poi| lat=41.18005|lon=9.3881|zoom=15
| type=buoy
| name=Palau buoy field 
| text=Just SE entrance to the marina. When the marina is full the yachts are sent to moor there. {{Note}} anchorage in the bay is not allowed. 

The buoy field is operated by the marina. A dinghy doc is located at the port side of the entrance to the marina.
}}

produces:

Palau buoy field fckLR

Palau buoy field fckLR/wiki/Template:Poi/doc#Palau_buoy_field_fckLR
World icon.png Palau buoy field fckLR [[Template:Poi/doc#Palau buoy field fckLR|Palau buoy field fckLR]] 41°10.803'N, 009°23.286'E
Just SE entrance to the marina. When the marina is full the yachts are sent to moor there. Note: anchorage in the bay is not allowed. fckLRfckLRThe buoy field is operated by the marina. A dinghy doc is located at the port side of the entrance to the marina.fckLR

<a href="Category:Templates">Category:Templates</a>
Personal tools
advertisement
Friends of Cruisers Wiki