Web
Analytics
Join the HITS Discord and leave your suggestions for this wiki, talk about your edits, or just chat with fellow Tally Hall fans!

Difference between revisions of "Template:Age"

From Tally Hallmanac: The Ultimate Tally Hall Wiki
Jump to navigation Jump to search
m (Coz moved page Template:Age to Template:Birth based on age as of dat without leaving a redirect: experimenting)
(experimenting)
Tag: Manual revert
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{#expr:{{{2}}}-{{{1|}}}-1}}{{#if:{{{mos|}}}|&#32;or&#32;|/}}{{#expr:{{{2}}}-{{{1}}}}}{{#if:{{{noage|}}}||&#32;(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>{{#invoke:age|age_generic|template=age_full_years}}</includeonly><noinclude>{{documentation}}</noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 09:14, 15 February 2022