Template:Birth date and age/doc: Difference between revisions

m
typo(s) fixed: etc, → etc., using AWB (11376)
(as per WP:DOB, use year only in many cases)
m (typo(s) fixed: etc, → etc., using AWB (11376))
Line 12: Line 12:


===Syntax===
===Syntax===
====To display the birth date only====
====To display the birth date only====
: <nowiki>{{Birth date|year of birth|month of birth|day of birth|additional parameters}}</nowiki>  
: <nowiki>{{Birth date|year of birth|month of birth|day of birth|additional parameters}}</nowiki>  
Line 62: Line 63:
The templates also returns the date, hidden by CSS, in the [[WP:ISO 8601|ISO 8601]] ''format'' (but not necessarily to the ISO 8601 ''standard'') needed by [[hCard|hCard microformat]]s. For example:
The templates also returns the date, hidden by CSS, in the [[WP:ISO 8601|ISO 8601]] ''format'' (but not necessarily to the ISO 8601 ''standard'') needed by [[hCard|hCard microformat]]s. For example:
: <code><nowiki>(<span class="bday">1993-02-24</span>)</nowiki></code>
: <code><nowiki>(<span class="bday">1993-02-24</span>)</nowiki></code>
Note: For the "foundation", "built" and similar set-up dates of companies, buildings etc, use {{tl|start date}} (this will work for year-only or month-year dates).
Note: For the "foundation", "built" and similar set-up dates of companies, buildings etc., use {{tl|start date}} (this will work for year-only or month-year dates).


For further information, visit [[Wikipedia:WikiProject Microformats|the microformats project]].
For further information, visit [[Wikipedia:WikiProject Microformats|the microformats project]].
Anonymous user