Template:Birth date and age/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==Usage== Use in infoboxes to calculate age for living people with known birth dates. <pre> {{Birth date and age|<BIRTH-Y>|<BIRTH-M>|<BIRTH-D>}} </pre> ==Example== Example,...") |
No edit summary |
||
Line 1: | Line 1: | ||
==Usage== | ==Usage== | ||
Use in | Use in the "birth-date" parameter of [[Template:Infobox Person]] on people pages to calculate age for living people with known birth dates. | ||
<pre> | <pre> |
Latest revision as of 22:35, 25 October 2017
Usage
Use in the "birth-date" parameter of Template:Infobox Person on people pages to calculate age for living people with known birth dates.
{{Birth date and age|<BIRTH-Y>|<BIRTH-M>|<BIRTH-D>}}
Example
Example, with Nicholas Sarwark, where the birth date is August 27, 1979.
Code
{{Birth date and age|1979|8|27}}
Result
August 27, 1979