Template:Age: Difference between revisions

From PoliticalSG
No edit summary
Tag: Manual revert
No edit summary
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
± {{#expr:{{CURRENTYEAR}}-{{{birthyear}}} }}
<includeonly>
{{#if:{{{2|}}}|
  {{#expr: {{CURRENTYEAR}} - {{{1}}} -
    ({{#ifexpr: {{CURRENTMONTH}}<{{{2}}} or ({{CURRENTMONTH}}={{{2}}} and {{CURRENTDAY}}<{{{3|1}}}) | 1 | 0 }})
  }}
  | {{#expr: {{CURRENTYEAR}} - {{{1}}} }}  
}}
</includeonly>


<noinclude>[[Category:Templates]]</noinclude>
<noinclude>
''How to use this template: See [[Template:Age/doc]]''
[[Category:Templates]]
</noinclude>

Latest revision as of 14:06, 13 February 2025


How to use this template: See Template:Age/doc