Template:cheatsheet-key: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (decap)
(use wording form RFCs 2119 and 2445, etc.)
Line 4: Line 4:
| '''bold''' {1} || {{must}} be present exactly once
| '''bold''' {1} || {{must}} be present exactly once
|-  
|-  
| ''italic''<nowiki>*</nowiki> || match 0 or more times
| ''italic''<nowiki>*</nowiki> || {{optional}}, and {{may}} occur more than once
|-  
|-  
| + || match 1 or more times
| + || {{must}} occur, and {{may}} occur more than once
|-  
|-  
| ? || match 1 or 0 times
| ? || {{optional}}, but {{must not}} occur more than once
|-  
|-  
| [square brackets] || list of common values  
| [square brackets] || list of common values  

Revision as of 12:08, 28 August 2007

Key

Based on Perl's standard quantifiers:

bold {1} MUST be present exactly once
italic* OPTIONAL, and MAY occur more than once
+ MUST occur, 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