adr-cheatsheet

From Microformats Wiki
Revision as of 19:37, 31 July 2007 by AndyMabbett (talk | contribs) (templating)
Jump to navigation Jump to search

adr cheatsheet

Properties (Class Names)

  • adr {1}
    • type[work|home|pref|postal|dom|intl]?
    • post-office-box?
    • street-address*
    • extended-address?
    • locality?
    • region?
    • postal-code?
    • country-name?

Key

Based on Perl's standard quantifiers:

bold {1} MUST be present exactly once
italic* OPTIONAL, and MAY occur more than once
+ MUST be present, and MAY occur more than once
? OPTIONAL, but MUST NOT occur more than once
[square brackets] list of common values
(parentheses) data format
# comment
! awaiting documentation
pref preferred
dom domestic
intl international

Notes

  • At least one child-property MUST be present in adr.
  • If an adr-child (e.g street-address) is present it will ONLY be considered part of the adr data IF it is inside an adr.
  • FAQ: "why 'adr'?"

Related pages