Template:Age: Difference between revisions

    From Nonbinary Wiki
    (transclude documentation)
    m (Reverted edits by Chick Bowen (talk) to last version by Luna Santin)
    Line 1: Line 1:
    <includeonly>{{#expr:({{{4[[Image:|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURREN]]TMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude>
    <includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude>
    {{Protected template}}
     
    {{tiw|age}}.
    {{tiw|age}}.


    {{{{FULLPAGENAME}}/doc}}<!-- Add cats and interwikis to the /doc subpage, not here! --></noinclude>
    This template returns the number of full years elapsed from one date until another date or until today (UTC). See [[{{TALKSPACE}}:{{PAGENAME}}]] for examples.
     
    If you use this template for calculating someone's age at death or age at a certain date (rather than their current age), please substitute it into the page, for example: <nowiki>{{subst:age|1989|7|23|2003|7|14}}</nowiki>.
     
    [[da:Skabelon:Alder]]
    [[sl:Template:Leta]]
    [[vi:Tiêu bản:Tuổi]]
    [[Category:Date math|{{PAGENAME}}]]
    [[Category:Templates using ParserFunctions|{{PAGENAME}}]]
    </noinclude>

    Revision as of 19:21, 26 January 2007


    Template:Tiw.

    This template returns the number of full years elapsed from one date until another date or until today (UTC). See Template talk:Age for examples.

    If you use this template for calculating someone's age at death or age at a certain date (rather than their current age), please substitute it into the page, for example: {{subst:age|1989|7|23|2003|7|14}}.

    da:Skabelon:Alder sl:Template:Leta vi:Tiêu bản:Tuổi