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

    (Update transclusion counts)
    (→‎hCard microformat: avoid emitting false information)
    Line 60: Line 60:


    ===hCard microformat===
    ===hCard microformat===
    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]] standard 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). Because the ISO 8601 standard requires the Gregorian calendar, this template should not be used if the date is given in the Julian calendar.


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