Template:Age-yrs: Difference between revisions

From Robin's SM-201 Website
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{{1|}}} {{#if: {{{1||}}} | ({{#expr:{{CURRENTYEAR}}-{{{1}}}}} years ago)}}<noinclude>
{{{1|}}} {{#if: {{{1||}}} | ({{#expr:{{CURRENTYEAR}}-{{{1}}}}} years ago)}}<noinclude>
;Usage
;Usage
:<nowiki> {{age-yrs|<YEAR>}}</nowiki></noinclude> produces -> "year (years ago)"
:<nowiki> {{age-yrs|<YEAR>}}</nowiki> produces -> "year (years ago)"</noinclude>

Latest revision as of 22:00, 2 May 2025

Usage
{{age-yrs|<YEAR>}} produces -> "year (years ago)"