Template:Age: Difference between revisions

213 bytes removed ,  3 years ago
m
52 revisions imported from wikipedia:Template:Age: see Topic:Vtixlm0q28eo6jtf
m (directing to talk for instructions, adding "Date math" category)
m (52 revisions imported from wikipedia:Template:Age: see Topic:Vtixlm0q28eo6jtf)
 
(44 intermediate revisions by 28 users not shown)
Line 1: Line 1:
{{tfd|Age}}<includeonly>{{#expr: {{{6|{{CURRENTYEAR}}}}} - {{{3}}} -
<includeonly>{{#invoke:age|age_generic|template=age_full_years}}</includeonly><noinclude>{{documentation}}</noinclude>
  {{#ifexpr: {{{1}}} < {{{4|{{CURRENTMONTH}}}}} | 0 |
    {{#ifexpr: {{{1}}} > {{{4|{{CURRENTMONTH}}}}} or {{{2}}} > {{{5|{{CURRENTDAY}}}}} | 1 | 0}}
  }}
}}</includeonly>
 
For usage instructions, see [[Template talk:Age|the talk page]].
 
[[Category:Date math]]