Template:Birth date/doc: Difference between revisions

rv2: not helpful
(????)
(rv2: not helpful)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE -->
{{Warning|''Do '''NOT''' use this template when the exact date of birth is disputed or unknown; consider {{tlp|Birth year}} instead.''}}
{{High-use}}
{{High-use}}
{{Template shortcut|dob}}
{{Template shortcut|dob}}
Line 8: Line 9:
'''{{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.
For an article about a living person, consider using {{tlp|Birth date and age}} instead.  


== Usage ==
== Usage ==
Line 37: Line 38:


=== Notes ===
=== Notes ===
* Do not use with hidden false.
* '''Do not use with non-Gregorian dates''' because the resulting hCard hidden date will be false.
* The template will appear left blank if you made a mistake.
* The template will appear broken when the parameters are left blank.
* When only the month if it is instead.
* When only the month or year of a person's birth and/or death are known, or if it is desired not to state a person's full dates of birth for privacy reasons, consider using the templates {{tlp|Birth year}} or {{tl|Birth year and age}} instead.


== Examples ==
== Examples ==
Anonymous user