Template:Birth date and age: Difference between revisions

Content deleted Content added
Copy template from en:
 
No edit summary
Line १:
<includeonly>{{#if<span style="display:none"> (<span class="bday">{{{df1|{{{year}}}|}}}-{{#exprpadleft:{{{32|{{{daymonth}}}}}}|2|0}} -{{MONTHNAME|padleft:{{{23|{{{monthday}}}}}}|2|0}}|</span>) </span>{{MONTHNAME|#if:{{{2df|{{{month}}}}}}}} |{{#expr:{{{3|{{{day}}}}}}}},}} {{MONTHNAME|{1{{2|{{{yearmonth}}}}}}<span style="display:none"> (<span class="bday">}}|{{MONTHNAME|{1{{2|{{{yearmonth}}}}}}-}} {{padleft#expr:{{{23|{{{monthday}}}}}}|2|0}}-,}} {{padleft:{{{31|{{{dayyear}}}}}}|2|0}}</span>)</span><span class="noprint ForceAgeToShow"> (ageआयु&nbsp;{{Ageage | {{{1|{{{year}}}}}} | {{{2|{{{month}}}}}} | {{{3|{{{day}}}}}} }} वर्ष)</span></includeonly><noinclude>!--
-- Error checks --
{{Documentation}}
-->{{#ifexpr: ( {{{1|{{{year}}}}}} > {{CURRENTYEAR}} ) OR ( {{CURRENTYEAR}} - {{{1|{{{year}}}}}} > 150 )
| &#32;{{error|invalid year}}{{main other|[[Category:Pages using age template with invalid date]]}}
}}{{#ifexpr: ( {{{2|{{{month}}}}}} > 12 ) OR ( {{{2|{{{month}}}}}} < 1 )
| &#32;{{error|invalid month}}{{main other|[[Category:Pages using age template with invalid date]]}}
}}{{#ifexpr: ( {{{3|{{{day}}}}}} > 31 ) OR ( {{{3|{{{day}}}}}} < 1 )
| &#32;{{error|invalid day}}{{main other|[[Category:Pages using age template with invalid date]]}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>