Template:Age: Difference between revisions

    From Nonbinary Wiki
    (tfd)
    m (52 revisions imported from wikipedia:Template:Age: see Topic:Vtixlm0q28eo6jtf)
     
    (47 intermediate revisions by 28 users not shown)
    Line 1: Line 1:
    {{tfd|Age}}
    <includeonly>{{#invoke:age|age_generic|template=age_full_years}}</includeonly><noinclude>{{documentation}}</noinclude>
     
    {{#expr: {{CURRENTYEAR}} - {{{3}}} -
      {{#ifexpr: {{{1}}} < {{CURRENTMONTH}} | 0 |
        {{#ifexpr: {{{1}}} > {{CURRENTMONTH}} or {{{2}}} > {{CURRENTDAY}} | 1 | 0}}
      }}
    }}

    Latest revision as of 11:39, 21 May 2021

    Template documentation[create]