Template:Player Birthdate and Age

From LCARS
Revision as of 04:03, 21 August 2016 by Pond (talk | contribs) (Protected "Template:Player Birthdate and Age" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Usage

For use with displaying a player's birthdate and age in in real time. Default display is Month DD, YYYY; use parameter df=y for the alternative display of DD Month YYYY, df=u for the alternative display of YYYY-MM-DD, or df=sd for stardate of YYYYMM.DD.

Examples

Code Result
{{Player Birthdate and Age|1980|03|04}} March 4, 1980 (age: 44)
{{Player Birthdate and Age|1980|06|10|df=y}} 10 June 1980 (age: 43)
{{Player Birthdate and Age|1980|09|17|df=u}} 1980-09-17 (age: 43)
{{Player Birthdate and Age|1980|12|25|df=sd}} 198012.25 (age: 43)