Template:Age: Difference between revisions

237 bytes removed ,  3 years ago
m
52 revisions imported from wikipedia:Template:Age: see Topic:Vtixlm0q28eo6jtf
m (noinclude cat/instruction note)
m (52 revisions imported from wikipedia:Template:Age: see Topic:Vtixlm0q28eo6jtf)
 
(43 intermediate revisions by 27 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><noinclude>
 
For usage instructions, see [[Template talk:Age|the talk page]].
 
[[Category:Date math]]
</noinclude>