- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Template:Age: Difference between revisions
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> | ||
<center>Notation must be in Y|M|D format. | |||
(Use a hyphen-minus " - " infront of year if it's BC.) | |||
[[Category:Formatting Templates | |||
<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
(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.