Template:Age/doc: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
No edit summary  | 
				No edit summary  | 
				||
| Line 33: | Line 33: | ||
'''Default:''' {{code|<nowiki>{{CURRENTDAY}}</nowiki>}}  | '''Default:''' {{code|<nowiki>{{CURRENTDAY}}</nowiki>}}  | ||
|}  | |}  | ||
{{Doc/Sandbox other|  | |||
{{Doc/Sandbox other|<!-- Categories below this line, please. -->[[Category:Templates]]}}  | <!-- Categories below this line, please. -->  | ||
[[Category:Templates]]  | |||
}}  | |||
Revision as of 10:10, 15 February 2025
This is a documentation subpage for Template:Age. 
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
A simple template to calculate age.
Parameters and Examples
| Parameters | Description | Examples | Preview | 
|---|---|---|---|
{{{1}}}
 | 
Year | {{age|1990|10|2}}{{age|1990|10|2|2020|5|12}}
 | 
|
{{{2}}}
 | 
Month | ||
{{{3}}}
 | 
Day | ||
{{{4}}}
 | 
Year 2
 Default:   | ||
{{{5}}}
 | 
Month 2
 Default:   | ||
{{{6}}}
 | 
Day 2
 Default:   |