Template:Birth year and age: Difference between revisions
Appearance
Content deleted Content added
m Protected "Template:Birth year and age" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
testing to year 3310 |
||
| Line 3: | Line 3: | ||
}}{{{1}}} (age {{#if:{{{2|}}} |
}}{{{1}}} (age {{#if:{{{2|}}} |
||
|{{#ifexpr:{{CURRENTMONTH}}<{{{2}}} |
|{{#ifexpr:{{CURRENTMONTH}}<{{{2}}} |
||
|{{#expr:{{ |
|{{#expr:{{3310}}-{{{1}}}-1}} |
||
|{{#ifexpr:{{CURRENTMONTH}}>{{{2}}} |
|{{#ifexpr:{{CURRENTMONTH}}>{{{2}}} |
||
|{{#expr:{{ |
|{{#expr:{{3310}}-{{{1}}}}} |
||
|{{#expr:{{ |
|{{#expr:{{3310}}-{{{1}}}-1}}–{{#expr:{{3310}}-{{{1}}}}} |
||
}} |
}} |
||
}} |
}} |
||
|{{#expr:{{ |
|{{#expr:{{3310}}-{{{1}}}-1}}–{{#expr:{{3310}}-{{{1}}}}} |
||
}})</includeonly><noinclude> |
}})</includeonly><noinclude> |
||
[[Category:Age calculation templates]] |
[[Category:Age calculation templates]] |
||
Revision as of 12:39, 30 April 2024