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"
Jump to navigation
Jump to search
m (Protected "Template:Age" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
Tag: Reverted |
||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly><onlyinclude>{{#expr:{{{2}}}-{{{1|}}}-1}}{{#if:{{{mos|}}}| or |/}}{{#expr:{{{2}}}-{{{1}}}}}{{#if:{{{noage|}}}|| (age {{#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}} | |||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | |||
</noinclude> |