Template:Age: Difference between revisions

From PoliticalSG
mNo edit summary
No edit summary
 
Line 1: Line 1:
<includeonly>{{#expr:{{CURRENTYEAR}}-{{{1}}} }}</includeonly>
<includeonly>
{{#if:{{{2|}}}|
  {{#expr: {{CURRENTYEAR}} - {{{1}}} -
    ({{#ifexpr: {{CURRENTMONTH}}<{{{2}}} or ({{CURRENTMONTH}}={{{2}}} and {{CURRENTDAY}}<{{{3|1}}}) | 1 | 0 }})
  }}
  | {{#expr: {{CURRENTYEAR}} - {{{1}}} }}
}}
</includeonly>
 
<noinclude>
<noinclude>
''How to use this template: See [[Template:Age/doc]]''
''How to use this template: See [[Template:Age/doc]]''
[[Category:Templates]]</noinclude>
[[Category:Templates]]
</noinclude>

Latest revision as of 14:06, 13 February 2025


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