Template:Age: Difference between revisions

    From Nonbinary Wiki
    m (1 | 0)
    (consider month and day)
    Line 1: Line 1:
    {{#expr: {{CURRENTYEAR}} - {{{3}}} - {{#ifexpr: {{{1}}} > {{CURRENTMONTH}} | 1 | 0 }} }}
    {{#expr: {{CURRENTYEAR}} - {{{3}}} -  
      {{#ifexpr: {{{1}}} < {{CURRENTMONTH}} | 0 |
        {{#ifexpr: {{{1}}} > {{CURRENTMONTH}} or {{{2}}} > {{CURRENTDAY}} | 1 | 0}}
      }}
    }}

    Revision as of 20:33, 21 April 2006

    Expression error: Unrecognized punctuation character "{".