Predloga:Geopolje koor

Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]

This is a template used in {{Infopolje Naselje}} and some of the templates of the Geobox series. It only translates the coordinates related parameters from the Geoboxes to the {{coord}} templates which handles the actual display and therefore it shouldn't be used on its own.

It displays coordinates and the appropriate wikimap link from various styles of input (can be classic with deg, min and sec or decimal with NSWE or decimal with negative values for S and W hemispheres). Additional formatting parameters can be used: to display the coordinates in title to, to display decimally-entered values as classic DMS values and vice-versa.

For usage see examples at Pogovor o predlogi:Geopolje koor or any Geobox.

Note: This is not used by {{Geobox}}. Geobox uses Predloga:Geobox2 coor and Predloga:Geobox2 coor title.

Optional parameters[uredi kodo]

  • title – if set to any value, the coordinates will appear in the title as well as inline.
  • format – set to dms for "degrees/minutes/seconds" or dec for "decimal".
  • wrap – if set to any value, the coordinates will be allowed to linewrap.

Examples of use[uredi kodo]

See also[uredi kodo]

Microformat[uredi kodo]

HTML-koda, ki jo sestavi ta predloga, vključuje mikroformat Geo, ki omogoča strojno razčlenjevanje koordinat (zemljepisna širina in dolžina), zato jih je denimo možno preveriti na digitalnem zemljevidu ali spraviti v GPS-napravo. Za več informacij o uporabi mikroformatov na Wikipediji si oglejte projektno stran za mikroformate.

Geo je običajno produkt klica predloge {{koord}} in uporablja naslednje razrede HTML:

  • geo
  • latitude
  • longitude

Prosimo, ne preimenujte ali odstranjujte teh razredov.

Ob podajanju koordinat se prosimo izogibajte pretirani natančnosti.