टेम्पलेट:Death date: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
imported>Callanecc
छो Changed protection level of Template:Death date: Highly visible template: Allowing template editors, around 7000 transclusions ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and adm
add error categories
लाइन 1:
<includeonly>{{#if:{{{df|}}}|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}}|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}},}} {{#expr:{{{1}}}}}<span style="display:none">(<span class="dday deathdate">{{{1}}}-{{padleft:{{MONTHNUMBER|{{{2}}}}}|2|0}}-{{padleft:{{{3}}}|2|0}}</span>)</span></includeonly><noinclude>!--
-- Error checks --
-->{{#ifexpr: ( {{{1|}}} > {{CURRENTYEAR}} )
| &#32;{{error|invalid year}}{{main other|[[Category:Pages using age template with invalid date]]}}
}}{{#if:{{{2|}}}|{{#ifexpr: ( {{{2|}}} > 12 ) OR ( {{{2|}}} < 1 )
| &#32;{{error|invalid month}}{{main other|[[Category:Pages using age template with invalid date]]}}|}}
}}{{#if:{{{3|}}}|{{#ifexpr: ( {{{3|}}} > 31 ) OR ( {{{3|}}} < 1 )
| &#32;{{error|invalid day}}{{main other|[[Category:Pages using age template with invalid date]]}}|}}
}}<noinclude>
{{documentation}}
</noinclude>