Template:Birth date and age: Difference between revisions
Content deleted Content added
Copy template from en: |
No edit summary |
||
Line १:
<includeonly>
-- Error checks --
-->{{#ifexpr: ( {{{1|{{{year}}}}}} > {{CURRENTYEAR}} ) OR ( {{CURRENTYEAR}} - {{{1|{{{year}}}}}} > 150 )
|  {{error|invalid year}}{{main other|[[Category:Pages using age template with invalid date]]}}
}}{{#ifexpr: ( {{{2|{{{month}}}}}} > 12 ) OR ( {{{2|{{{month}}}}}} < 1 )
|  {{error|invalid month}}{{main other|[[Category:Pages using age template with invalid date]]}}
}}{{#ifexpr: ( {{{3|{{{day}}}}}} > 31 ) OR ( {{{3|{{{day}}}}}} < 1 )
|  {{error|invalid day}}{{main other|[[Category:Pages using age template with invalid date]]}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
|