Jump to content

Template:GeoTemplate/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Tag: Reverted
m Reverted edits by 196.189.240.33 (talk) (HG) (3.4.12)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{transclusionless|reason=this template is used by [[:mw:GeoHack]] to display maps
{{transclusionless|reason=this template is used by [[:mw:GeoHack]] to display maps on pages linked from, but outside of, the English Wikipedia. The GeoTemplate family of templates is used by {{tl|coord}} links on articles about places on Earth and on extraterrestrial bodies. See {{tl|Surface features of space objects}} for links to many such articles.}}

See [[:mw:GeoHack]] for more information about the GeoTemplate family of templates and how they are used.

== Microformat ==

{{UF-geo-other}}

[[Category:WikiProject Geographical coordinates]]
[[Category:GeoTemplates]]
[[Category:External link templates]]

Latest revision as of 10:08, 7 July 2024

See mw:GeoHack for more information about the GeoTemplate family of templates and how they are used.

Microformat

[edit]

The HTML markup produced by this template emits an Geo microformat, which makes the location's coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map. As yet, the standard for doing this for off-world bodies is still under development, but is supported in some microformat parsers (e.g. Swignition). For more information about the use of microformats on Wikipedia, please see the microformat project.

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

  • body
  • geo
  • latitude
  • longitude

Please do not rename or remove these classes.

When giving coordinates, please don't be overly precise.