Template:Age: Difference between revisions

From PoliticalSG
(Created page with "± {{#expr:{{CURRENTYEAR}}-{{{birthyear}}} }} <noinclude>Category:Templates</noinclude>")
 
No edit summary
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
&PlusMinus; {{#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