Registration has been disabled and the moderation extension has been turned off.

Contact an admin on Discord or EDF if you want an account. Also fuck bots.

Template:Age: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>TabbyGarf
1 revision imported
m Text replacement - "|{{PAGENAME}}]]" to "]]"
 
(39 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude>
<includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude>
==Important==
<center>Notation must be in Y|M|D format.
*Notation must be in YMD format.
(Use a hyphen-minus " - " infront of year if it's BC.)
[[Category:Formatting Templates|{{PAGENAME}}]]
 
 
<big><code><nowiki>{{age|1984|7|25}} years ago</nowiki></code>
 
 
gives:
 
 
'''{{age|1984|7|25}} years ago'''</big>
 
Month and day can be set to 0 if they are unavailable.
 
</center>
[[Category:Formatting Templates]]
</noinclude>
</noinclude>

Latest revision as of 01:31, 11 January 2026

Notation must be in Y|M|D format.

(Use a hyphen-minus " - " infront of year if it's BC.)


{{age|1984|7|25}} years ago


gives:


41 years ago

Month and day can be set to 0 if they are unavailable.