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

From LPedia
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 infoboxes to calculate age for living people with known birth dates.
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

(1979-08-27) August 27, 1979 (age 45)


See also