Jump to content

Template:GeoTemplate/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Main page Contents Current events Random article About Wikipedia Contact us Donate Contribute Help Learn to edit Community portal Recent changes Upload file Tools What links here Related changes Special pages Page information
Tag: Reverted
m Reverted edits by 196.189.240.33 (talk) (HG) (3.4.12)
 
(18 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{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.
Main page

Contents
== Microformat ==
Current events

Random article
{{UF-geo-other}}
About Wikipedia

Contact us
[[Category:WikiProject Geographical coordinates]]
Donate
[[Category:GeoTemplates]]
Contribute
[[Category:External link templates]]
Help
Learn to edit
Community portal
Recent changes
Upload file
Tools
What links here
Related changes
Special pages
Page information

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.