Template:UF-hcard-geo: Difference between revisions
>Pigsonthewing (new cat) |
>Pigsonthewing (When giving coordinates, please don't be overly precise) |
||
Line 16: | Line 16: | ||
{{endflatlist}} | {{endflatlist}} | ||
Geo is produced by calling {{tl|coord}}, and uses HTML classes | Geo is produced by calling {{tl|coord}}, and uses HTML classes: | ||
{{flatlist}} | {{flatlist}} | ||
*"geo" | *"geo" | ||
Line 25: | Line 25: | ||
'''Please do not rename or remove these classes.''' | '''Please do not rename or remove these classes.''' | ||
When giving coordinates, please don't be [[Wikipedia:WikiProject Geographical coordinates#Precision|overly precise]]. | |||
[[Category:Templates generating hCards and Geo|{{PAGENAME}}]] | [[Category:Templates generating hCards and Geo|{{PAGENAME}}]] |
Revision as of 11:13, 28 May 2007
The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article 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.
hCard uses HTML classes including:
- "adr"
- "county-name"
- "fn"
- "label"
- "locality"
- "nickname"
- "note"
- "org"
- "vcard"
Geo is produced by calling {{coord}}, and uses HTML classes:
- "geo"
- "latitude"
- "longitude"
Please do not rename or remove these classes.
When giving coordinates, please don't be overly precise.