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

(→‎Error tracking: add citation section)
(→‎hCard microformat: add citation)
Line 60: Line 60:


===hCard microformat===
===hCard microformat===
The templates also returns the date, hidden by CSS, in the [[WP:ISO 8601|ISO 8601]] standard For example:
The templates also returns the date, hidden by CSS, in the [[WP:ISO 8601|ISO 8601]] standard.<ref>{{cite web | date = April 7, 2013 | url = http://microformats.org/wiki/date-pattern | title = Date Design Pattern | website = Microformats Wiki}}</ref> 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). Because the ISO 8601 standard requires the Gregorian calendar, this template should not be used if the date is given in the Julian calendar.
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). Because the ISO 8601 standard requires the Gregorian calendar, this template should not be used if the date is given in the Julian calendar.
Anonymous user