Jump to content

User:Relyimah/UserBoxes/User Exact Age/Doc

From Wikipedia, the free encyclopedia

Variables

[edit]

There are quite a few variables in this template. Let us assume that a user is, for arguments sake, born on 21st September, 1983 (like me. The variables for displaying this exact, auto-updating age are as follows:

{{User:Relyimah/UserBoxes/User Exact Age|year=1983|month=9|day=21}}

Because it is wiki, typing out the preceding would produce a userbox like this:

41 This user is 41 years, and 2 months old.




See? Very simple, and its auto-updating!

Source

[edit]

Snagged and modified from {{user exact age}}

Modification History

[edit]
  • Removed first parameter from original template and updated to auto-calculate age in years for side box. — Relyimah (t-c-e) 12:36, 13 June 2008 (UTC)