Template:Poi/doc
From CruisersWiki
(→Type: eatingout) |
Istioploos (Talk | contribs) (Added missing options) |
||
Line 1: | Line 1: | ||
- | <noinclude>__NOTOC__</ | + | <p><span class="fck_mw_noinclude" _fck_mw_customtag="true" _fck_mw_tagname="noinclude">__NOTOC__</span>This template is used to list POIs (<i>POI</i> stands for <a href="http://en.wikipedia.org/wiki/Point_of_interest" class="extiw" title="wikipedia:Point of interest"><i>point of interest</i></a>). |
- | + | </p><p>In a wiki article a POI denotes some geographic location like a city, port or an anchorage. Such a POI <i>must</i> have a name and a type, also it <i>should</i> have some geographic coordinates and a description text. | |
- | In a wiki article a POI denotes some geographic location like a city, port or an anchorage. Such a POI | + | </p><p>There are two styles in using this template. |
- | + | </p> | |
- | There are two styles in using this template. | + | <h4>Usage</h4> |
- | + | <hr /> | |
- | + | <h5>Lat, Lon style</h5> | |
- | + | <pre>{{poi | |
- | <pre | + | |
| lat= | lon= | | lat= | lon= | ||
| type= | | type= | ||
| name= | | name= | ||
| text= | | text= | ||
- | }} | + | }}</pre> |
- | + | <p>Here the coordinates are defined by <i>lat</i> and <i>lon</i> parameters represented in decimal degrees (negative values denote either S or W hemispheres). | |
- | Here the coordinates are defined by | + | </p> |
- | + | <h5>DD°M.M'H style</h5> | |
- | + | <pre>{{poi | |
- | < | + | |
|DD|M.M|N|DDD|M.M|E | |DD|M.M|N|DDD|M.M|E | ||
| type= | | type= | ||
| name= | | name= | ||
| text= | | text= | ||
- | }} | + | }}</pre> |
- | + | <p>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. | |
- | Coordinates in this format are quite useful then | + | </p><p>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. |
- | + | </p> | |
- | 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. | + | <h5>Type</h5> |
- | + | <p>A value of the <i>type</i> parameter should be one of: | |
- | + | </p> | |
- | A value of the | + | <ul><li> anchorage |
- | + | </li><li> harbour | |
- | + | </li><li> berth <i>(for marinas and other moorings at harbour quays, piers, etc.)</i> | |
- | + | </li><li> buoy <i>(for mooring buoys)</i> | |
- | + | </li><li> provisioning <i>(for grocery stores, markets and supermarkets)</i> | |
- | + | </li><li> chandler <i>(for yacht's stores)</i> | |
- | + | </li><li> eatingout <i>(for restaurants, caffes, eateries, etc.)</i> | |
- | + | </li><li> officials | |
- | + | </li><li> facilities | |
- | + | </li><li> service | |
- | + | </li><li> accommodation | |
- | + | </li><li> beach | |
- | + | </li><li> waypoint | |
- | + | </li><li> waterway-canal | |
- | + | </li><li> other | |
- | + | </li></ul> | |
- | + | <h4>Examples</h4> | |
- | + | <hr /> | |
- | + | <p><b><a _fcknotitle="true" href="Template:Coord">Template:Coord</a> style:</b> | |
- | + | </p> | |
- | < | + | <pre>{{poi |
|41|14.633|N|009|08.904|E | |41|14.633|N|009|08.904|E | ||
| type= anchorage | | type= anchorage | ||
| name= Cala Spinosa | | name= Cala Spinosa | ||
| text= A narrow bay W of Baia di Santa Reparata, good holding on sandy patches. | | text= A narrow bay W of Baia di Santa Reparata, good holding on sandy patches. | ||
- | }}</ | + | }}</pre> |
- | + | <p>Expands to: | |
- | Expands to: | + | <span class="fck_mw_template">{{poifckLR|41|14.633|N|009|08.904|EfckLR| type= anchoragefckLR| name= Cala SpinosafckLR| text= A narrow bay W of Baia di Santa Reparata, good holding on sandy patches.fckLR}}</span> |
- | {{ | + | </p><p><b>Lat, Lon style:</b> |
- | |41|14.633|N|009|08.904| | + | </p> |
- | | type= | + | <pre> |
- | | name= Cala | + | |
- | | text= A narrow bay W of Baia di Santa Reparata, good holding on sandy patches. | + | |
- | }} | + | |
- | + | ||
- | + | ||
- | < | + | |
{{poi | {{poi | ||
|lat=41.23762|lon=9.1968 | |lat=41.23762|lon=9.1968 | ||
Line 73: | Line 65: | ||
|text= A private yacht club located at the small Eastern inlet just before the marina | |text= A private yacht club located at the small Eastern inlet just before the marina | ||
}} | }} | ||
- | </ | + | </pre> |
- | + | <p>Gives: | |
- | Gives: | + | <span class="fck_mw_template">{{poifckLR|lat=41.23762|lon=9.1968fckLR|type=berthfckLR|name=Lega Navale di Santa Teresa GallurafckLR|url=http://www.leganavale.it/strutture/s_teresa_di_gallura/s_teresa_di_gallurafckLR|text= A private yacht club located at the small Eastern inlet just before the marinafckLR}}</span> |
- | {{ | + | </p><p><br /> |
- | |lat=41.23762|lon=9. | + | |
- | |type= | + | |
- | |name=Lega Navale di Santa Teresa | + | |
- | |url=http://www.leganavale.it/strutture/s_teresa_di_gallura/ | + | |
- | |text= A private yacht club located at the small Eastern inlet just before the | + | |
- | }} | + | |
- | + | ||
- | + | ||
, and: | , and: | ||
- | < | + | </p> |
+ | <pre> | ||
{{poi| lat=41.18005|lon=9.3881|zoom=15 | {{poi| lat=41.18005|lon=9.3881|zoom=15 | ||
| type=buoy | | type=buoy | ||
Line 93: | Line 78: | ||
The buoy field is operated by the marina. A dinghy doc is located at the port side of the entrance to the marina. | The buoy field is operated by the marina. A dinghy doc is located at the port side of the entrance to the marina. | ||
- | }} | + | }}</pre> |
- | + | <p>produces: | |
- | produces: | + | <span class="fck_mw_template">{{poi| lat=41.18005|lon=9.3881|zoom=15fckLR| type=buoyfckLR| name=Palau buoy field fckLR| 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. fckLRfckLRThe buoy field is operated by the marina. A dinghy doc is located at the port side of the entrance to the marina.fckLR}}</span> |
- | {{poi| lat=41.18005|lon=9.3881|zoom= | + | </p><a href="Category:Templates">Category:Templates</a> |
- | | type= | + | |
- | | 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. | + | |
- | + | ||
- | + | ||
- | }} | + | |
- | + | ||
- | + |
Revision as of 17:40, 30 March 2016
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