Jump to content

Template:PoIgb/doc

Kufuma Wikipedia

{{PoIgb/doc}} creates a collapsible points of interest table row, with links to mapping resources using the latitude/longitude WGS84 coordinates system. It includes a column for Ordnance Survey grid coordinates for use in Great Britain (outside GB, use {{PoI}}). Please supply an accurate (but not over-precise) latitude and longitude as the 2nd and 3rd parameters, and a two letter, six figure national grid reference, if known, as the 4th parameter.

Use {{PoIgb start}} as the table header row, with type=collapsed if you want the table to be initially hidden, and {{PoIgb end}} for the footer.

The template uses {{coord}}; see that page for parameters.

Copyable code

[kulemba source]
{{PoIgb start}}
{{PoIgb|}} 
{{PoIgb|}} 
{{PoIgb end}}
{{PoIgb start|type=collapsed}}
{{PoIgb|}} 
{{PoIgb|}} 
{{PoIgb end}}

Parameters

[kulemba source]
  1. [Title/heading] - the first parameter uses no coding name, it is for the first wording that appears in the table line and doubles as the coordinate name tag/label unless name= parameter is also used, which must be done for any hyperlink or unusual formatting here.
  2. Latitude - use decimal value, negative for South
  3. Longitude - use decimal value, negative for West
  4. OS Grid Ref - useful for paper maps in Great Britain
  5. Note - optional notes you wish to include
  6. Deprecated
  7. Name to provide to coordinate interface (coord) if the 1st parameter is not the desired name, or contains Wikilinks (which break the formating of the table) if the name= parameter is not also specified. e.g. |name=Autherley Junction

Optional parameters:

  • |show_image=yes (any other value is ignored)
  • image
{{PoIgb start}}
{{PoIgb|Titford Pool (south)|52.4885|-2.0215|SO986878|Hello world}} 
{{PoIgb|Titford pump house, top lock, Tat Bank Branch|52.4962|-2.0090|SO994887}} 
{{PoIgb end}}

Gives:

Point Coordinates
(Links to map resources)
OS Grid Ref Notes
Titford Pool (south) 52°29′19″N 2°01′17″W / 52.4885°N 2.0215°W / 52.4885; -2.0215 (Titford Pool (south)) SO986878 Hello world
Titford pump house, top lock, Tat Bank Branch 52°29′46″N 2°00′32″W / 52.4962°N 2.0090°W / 52.4962; -2.0090 (Titford pump house, top lock, Tat Bank Branch) SO994887

Microformat

[kulemba source]

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

[kulemba source]

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.

Precision

[kulemba source]

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

Display options

[kulemba source]

Pages which use multiple instances of this template, can also use {{kml}} in their External links section, to offer a variety of ways of viewing or downloading the coordinates.