Template:Birth date/doc: Difference between revisions

update hatnote, add links
(use template to prevent categories from being including in /sandbox)
(update hatnote, add links)
Line 1: Line 1:
{{Documentation subpage}}<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
{{Documentation subpage}}<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
{{Warning|''Do '''NOT''' use this template when the person's exact date of birth is disputed or unknown; consider {{tlp|birth year}} or {{tlp|birth year and age}} instead.''}}<includeonly>
{{Warning|''Do '''NOT''' use this template when the exact date of birth is disputed or unknown; consider {{tlp|Birth year}} instead.''}}<includeonly>
{{High-risk|230,000+}}</includeonly>
{{High-risk|230,000+}}</includeonly>
{{Template shortcut|dob}}
{{Template shortcut|dob}}


'''{{NAMESPACE}}:{{BASEPAGENAME}}''' will return a person's date of birth. Using this template rather than simply inserting the date into articles allows for the inclusion of hidden [[metadata]] about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index, or search them.
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' will return a person's date of birth. Using this template rather than simply inserting the date into articles allows for the inclusion of hidden [[metadata]] about the date. This metadata can be used by web browsers and other software tools to extract the details, and display them using some other website or mapping tool, index, or search them.
For an article about a living person, consider using {{tlp|Birth date and age}} instead.


== Usage ==
== Usage ==
Line 31: Line 33:
<ref>{{cite web | date = August 28, 2009 | url = http://microformats.org/wiki/hcalendar-issues-closed | title = hCalendar closed issues | website = Microformats Wiki}} Specifically rejects supporting the Julian calendar.</ref> For example:
<ref>{{cite web | date = August 28, 2009 | url = http://microformats.org/wiki/hcalendar-issues-closed | title = hCalendar closed issues | website = Microformats Wiki}} Specifically rejects supporting the Julian calendar.</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]].


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