Difference between revisions of "Template:Birth year and age"

From comp.tf
Jump to navigation Jump to search
(Created page with "<includeonly>{{#if:{{{2|}}} |{{MONTHNAME|{{{2}}}}}  }}{{{1}}} (age {{#if:{{{2|}}} |{{#ifexpr:{{CURRENTMONTH}}<{{{2}}} |{{#expr:{{CURRENTYEAR}}-{{{1}}}-1}} |{{#...")
 
 
Line 16: Line 16:
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 21:10, 29 November 2016

(view - edit) Documentation

Usage

{{birth year and age|year}}

Example

{{Birth year and age|1960}}

gives:

1960 (age 63–64)