Template:Age/doc

Revision as of 12:13, 21 August 2023 by mh:wikigenius>WikiGenius (Created page with "<noinclude>{{Documentation subpage}}</noinclude> ; Description : This template returns the current age of someone with a given birth date. ; Sample output <syntaxhighlight lang="html+handlebars"> {{Age |birth_year=1929 |birth_month=1 |birth_day=15 }}</syntaxhighlight> gives... :{{Age |birth_year=1929 |birth_month=1 |birth_day=15 }} <syntaxhighlight lang="html+handlebars"> {{Age |1929 |1 |15 }}</syntaxhighlight> gives... :{{Age |1929 |1 |15 }}<includeonly> Category:Util...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a template documentation subpage for Template:Age.
It contains usage information, categories, interlanguage links and other content that is not part of the original template page.
Description
This template returns the current age of someone with a given birth date.
Sample output
{{Age
|birth_year=1929
|birth_month=1
|birth_day=15
}}

gives...

96
{{Age
|1929
|1
|15
}}

gives...

96