Template:Death date and age: Difference between revisions
From Vigyanwiki
(rm {{pp-template}} - this seriously messes up the formatting in transclusion to infoboxes) |
m (moved pp after noinclude) |
||
Line 1: | Line 1: | ||
[[{{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}} {{{3|{{{day|{{{3}}}}}}}}}]] [[{{{1|{{{year|{{{1}}}}}}}}}]] (aged {{age at date | {{{4|{{{year|{{{4}}}}}}}}} | {{{5|{{{month|{{{5}}}}}}}}} | {{{6|{{{day|{{{6}}}}}}}}} | {{{1|{{{year|{{{1}}}}}}}}} | {{{2|{{{month|{{{2}}}}}}}}} | {{{3|{{{day|{{{3}}}}}}}}} }})<noinclude> | [[{{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}} {{{3|{{{day|{{{3}}}}}}}}}]] [[{{{1|{{{year|{{{1}}}}}}}}}]] (aged {{age at date | {{{4|{{{year|{{{4}}}}}}}}} | {{{5|{{{month|{{{5}}}}}}}}} | {{{6|{{{day|{{{6}}}}}}}}} | {{{1|{{{year|{{{1}}}}}}}}} | {{{2|{{{month|{{{2}}}}}}}}} | {{{3|{{{day|{{{3}}}}}}}}} }})<noinclude> | ||
{{pp-template}} | |||
Returns a person's date of death and his/her age at that date. | Returns a person's date of death and his/her age at that date. |
Revision as of 04:14, 4 April 2007
[[ {{{3}}}]] [[{{{1}}}]] (aged Template:Age at date)
Returns a person's date of death and his/her age at that date.
- Syntax:
- {{Death date and age|year of death|month of death|day of death|year of birth|month of birth|day of birth}}
- Example:
{{death date and age|1993|2|24|1941|4|12}}
returns February 24 1993 (aged Template:Age at date)
Note: The template will appear broken when the parameters are left blank (as seen above).