geo-cheatsheet: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(fix sub-hierarchy)
(→‎Notes: comma or semicolon? Not specified on geo !)
Line 13: Line 13:
==Notes==
==Notes==
*If latitude is present, so MUST be longitude, and vice versa.
*If latitude is present, so MUST be longitude, and vice versa.
*If the secondary classes are omitted, the two values MUST be comma separated and latitude MUST be first:<code><nowiki><span class=geo">37.386013,-122.082932</span></nowiki></code>
*If the secondary classes are omitted, the two values MUST be comma <!-- OR IS IT A SEMICOLON? Not specified on [[geo]] --> separated and latitude MUST be first:<code><nowiki><span class=geo">37.386013,-122.082932</span></nowiki></code>
*The same number of decimal places SHOULD be used in each value.
*The same number of decimal places SHOULD be used in each value.


==Related pages==
==Related pages==
{{geo}}
{{geo}}

Revision as of 19:23, 28 November 2006

Geo cheatsheet

Properties

  • class="geo" (1)
    • class="latitude" (2)
    • class="longitude" (2)

Key

1 - Single occurrence required
2 - single occurrence optional

Notes

  • If latitude is present, so MUST be longitude, and vice versa.
  • If the secondary classes are omitted, the two values MUST be comma separated and latitude MUST be first:<span class=geo">37.386013,-122.082932</span>
  • The same number of decimal places SHOULD be used in each value.

Related pages