Jump to content

Template:Birth based on age as of date: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Mike V (talk | contribs)
m Changed protection level of Template:Birth based on age as of date: Highly visible page ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Block all non-admin users] (indefinite))
Synch from sandbox;
Line 1: Line 1:
<includeonly><onlyinclude>{{#expr:{{{2}}}-{{{1|}}}-1}}/{{#expr:{{{2}}}-{{{1}}}}}{{if|eq|{{{noage}}}|1|| (age&nbsp;{{#ifeq:{{#expr:{{MONTHNUMBER|{{{3|12}}}}}*31+{{{4|31}}}}}|{{#expr:{{CURRENTMONTH}}*31+{{CURRENTDAY}}}}|{{#expr:{{CURRENTYEAR}}-{{{2}}}+{{{1}}}}}|{{#ifexpr:{{#expr:{{MONTHNUMBER|{{{3|12}}}}}*31+{{{4|31}}}}}>{{#expr:{{CURRENTMONTH}}*31+{{CURRENTDAY}}}}|{{#expr:{{CURRENTYEAR}}-{{{2}}}+{{{1}}}-1}}|{{#expr:{{CURRENTYEAR}}-{{{2}}}+{{{1}}}}}}}–{{#ifexpr:{{#expr:{{MONTHNUMBER|{{{3|1}}}}}*31+{{{4|1}}}}}<{{#expr:{{CURRENTMONTH}}*31+{{CURRENTDAY}}}}|{{#expr:{{CURRENTYEAR}}-{{{2}}}+{{{1}}}+1}}|{{#expr:{{CURRENTYEAR}}-{{{2}}}+{{{1}}}}}}}}})}}</onlyinclude></includeonly><noinclude>
<includeonly><onlyinclude>{{#expr:{{{2}}}-{{{1|}}}-1}}{{#if:{{{mos|}}}|&#32;or&#32;|/}}{{#expr:{{{2}}}-{{{1}}}}}{{if|eq|{{{noage}}}|1|| (age&nbsp;{{#ifeq:{{#expr:{{MONTHNUMBER|{{{3|12}}}}}*31+{{{4|31}}}}}|{{#expr:{{CURRENTMONTH}}*31+{{CURRENTDAY}}}}|{{#expr:{{CURRENTYEAR}}-{{{2}}}+{{{1}}}}}|{{#ifexpr:{{#expr:{{MONTHNUMBER|{{{3|12}}}}}*31+{{{4|31}}}}}>{{#expr:{{CURRENTMONTH}}*31+{{CURRENTDAY}}}}|{{#expr:{{CURRENTYEAR}}-{{{2}}}+{{{1}}}-1}}|{{#expr:{{CURRENTYEAR}}-{{{2}}}+{{{1}}}}}}}–{{#ifexpr:{{#expr:{{MONTHNUMBER|{{{3|1}}}}}*31+{{{4|1}}}}}<{{#expr:{{CURRENTMONTH}}*31+{{CURRENTDAY}}}}|{{#expr:{{CURRENTYEAR}}-{{{2}}}+{{{1}}}+1}}|{{#expr:{{CURRENTYEAR}}-{{{2}}}+{{{1}}}}}}}}})}}</onlyinclude></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories and interwikis to the /doc subpage, not here! -->

Revision as of 13:17, 26 November 2015