User:Xsanda/UserBoxes/Age

This preview assumes that your birthday is 1st Jan 2000.

{{User:Xsanda/UserBoxes/Age|1|2|3|4|5 1 is the year you were born, eg 2000.

2 is the month you were born, eg 02.

3 is the date you were born, eg 09.

4 is your username, eg Xsanda. {{userbox + {{Gregorian serial date |month = {{{2|1}}} |day = {{{3|1}}} |year = {{if|expr|{{CURRENTMONTH}}<{{{2|1}}}|{{CURRENTYEAR}}|{{if|expr|{{CURRENTMONTH}}>{{{2|1}}}|{{#expr:{{CURRENTYEAR}}+1}}|{{if|expr|{{CURRENTDAY}}<{{{3|1}}}|{{CURRENTYEAR}}|{{#expr:{{CURRENTYEAR}}+1}}}}}}}} }}       - {{Gregorian serial date |month = {{CURRENTMONTH}} |day = {{CURRENTDAY}} |year = {{CURRENTYEAR}} }} }} days time, {{if|eq|{{{5|m}}}|f|she|he}} will be {{#expr:({{age|format=raw|{{{1|2000}}}|{{{2|1}}}|{{{3|1}}}}})+1}}.}} }}
 * border-c = {{{border-color|#2222ff}}}
 * border-s = {{{border-width|1}}}
 * id      = {{{text|  Happy Birthday  }}}
 * id-c    = {{{logo-background|#2222ff}}}
 * id-fc   = {{{logo-color|#ffffe0}}}
 * id-s    = {{{logo-size||14}}}
 * info    = {{if|eq|{{CURRENTMONTH}}{{CURRENTDAY2}}|{{{2|01}}}{{{3|01}}}|Today is this user's birthday! Wish {{if|eq|{{{5|m}}}|f|her|him}} a Happy Birthday at Xsanda}}}|{{if|eq|{{{5|m}}}|f|her|his}} talk page!|This user is {{age|{{{1|2000}}}|{{{2|1}}}|{{{3|1}}}}} years old. In {{#expr: