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>Glitchedblood
Undo revision 1345145 by A (talk)
imported>4ourty
No edit summary
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.)
 
 
<big><code><nowiki>{{age|1984|7|25}} years ago</nowiki></code>
 
 
gives:
 
 
'''{{age|1984|7|25}} years ago'''</big>
 
</center>
[[Category:Formatting Templates|{{PAGENAME}}]]
[[Category:Formatting Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 21:10, 21 May 2023

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