Template:UF-hcard-geo: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>GDonato
m (Reverted edits by AkhtaBot (talk) to last version by CommonsDelinker)
>Pigsonthewing
(class="agent")
Line 1: Line 1:


The HTML mark up produced by this template includes an [[HCard| hCard microformat]], which makes the place-name and location [[Parsing|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 [[WP:GEOUF|Geo microformat]], which additionally makes the [[Geographic coordinate system|coordinates]] (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a [[Global Positioning System|GPS]] unit. For more information about the use of [[microformat]]s on Wikipedia, please see [[WP:UF|the microformat project]].
The HTML mark up produced by this template includes an [[HCard| hCard microformat]], which makes the place-name and location [[Parsing|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 [[WP:GEOUF|Geo microformat]], which additionally makes the [[Geographic coordinate system|coordinates]] (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a [[Global Positioning System|GPS]] unit. For more information about the use of [[microformat]]s on Wikipedia, please see [[WP:UF|the microformat project]].
Line 5: Line 4:
hCard uses HTML classes including:
hCard uses HTML classes including:
<div class="horizontal">
<div class="horizontal">
*"adr"
*adr
*"county-name"
*agent
*"fn"
*county-name
*"label"
*fn
*"locality"
*label
*"nickname"
*locality
*"note"
*nickname
*"org"
*note
*"region"
*org
*"street-address"
*region
*"vcard"
*street-address
*vcard
</div>
</div>



Revision as of 12:25, 21 August 2008

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
  • agent
  • county-name
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • 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.