Template:Age: Difference between revisions

    From Nonbinary Wiki
    (rm tfd notice, kept)
    m (unnecessary ifs)
    Line 1: Line 1:
    <includeonly>{{#expr: {{{4|{{CURRENTYEAR}}}}} - {{{1}}} -  
    <includeonly>{{#expr:
      {{#ifexpr: {{{2}}} < {{{5|{{CURRENTMONTH}}}}} | 0 |
    ({{{4|{{CURRENTYEAR}}}}}- ({{{1}}}) -
        {{#ifexpr: {{{2}}} > {{{5|{{CURRENTMONTH}}}}} or {{{3}}} > {{{6|{{CURRENTDAY}}}}} | 1 | 0}}
    (({{{5|{{CURRENTMONTH}}}}}) < ({{{2}}}) or
      }}
    ({{{5|{{CURRENTMONTH}}}}}) = ({{{2}}}) and
    }}</includeonly><noinclude>
    ({{{6|{{CURRENTDAY}}}}})  < ({{{3}}})
    )}}</includeonly><noinclude>


    For usage instructions, see [[Template talk:Age|the talk page]].
    For usage instructions, see [[Template talk:Age|the talk page]].

    Revision as of 19:12, 3 May 2006


    For usage instructions, see the talk page.