Template:Age: Difference between revisions

22 bytes removed ,  18 years ago
m
unnecessary ifs
(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]].
Anonymous user