Enter your birthday like this:
Enter your birthday like this:
{{user current age|day=22|month=10|year=1986}}
or
{{user current age|day=22|month=10|year=1986|hidden}}
And the template will display your age like this:
| 39Y | This Wikipedian was born on 22 October 1986 and is 39 years, 10 months, and 4 days old. |
The hidden parameter will cause your userpage to not be categorised by your age.
The date should be accurate, but the code hasn't been fully tested and does require simplification.
I have this template on my userpage. My birthday is on August 30 1979 but it says I'm 26 years and 3 days old! I'll be 27 at the end of this month! Can anyone check it out?? -- AnemoneProjectors (talk) 13:26, 2 August 2006 (UTC)
This template needs to be modified to not work - and not create categories for - users under 13 years old. --kingboyk 13:57, 3 November 2006 (UTC)
When going into edit mode (today? 11.11.2006) a Template:11 shows up at the bottom - as well as on my user page when editing... --katpatuka 09:03, 11 November 2006 (UTC)
I have no idea what you guys are on about -- I'm fairly sure these funny templates aren't coming from this one.--Alfakim-- talk 08:51, 30 March 2007 (UTC)
//-->{{#ifexpr: ({{CURRENTDAY}} - {{{day|{{CURRENTDAY}}}}}) < 0 | {{#expr: {{Days in month}} + ({{CURRENTDAY}} - {{{day|{{CURRENTDAY}}}}}) }} | {{#expr: {{CURRENTDAY}} - {{{day|{{CURRENTDAY}}}}} }} }} days old, <!--Current box reads "(he/she is X years, X months, and X days old)". Can a toggle parameter not be added to specify whether the user is a "he" or "she"? — Wyliepedia 03:10, 22 April 2017 (UTC)
This edit by Superdry19 (talk · contribs) changed the date format. I am not opposed to the change, but I foresee problems going forward with UK/US editors switching it back and forth. Is there a way to add a format switch so that people can use their preferred format? -- Scjessey (talk) 14:08, 23 October 2017 (UTC)
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.