Difference between revisions of "Template:Death date and given age"

From blackwiki
Jump to navigation Jump to search
imported>GPHemsley
(Add classes)
imported>Connormah
("aged" is used in these cases)
Line 1: Line 1:
<includeonly><onlyinclude><time class="dday deathdate" datetime="{{{1|{{{year}}}}}}-{{padleft:{{{2|{{{month}}}}}}|2|0}}-{{padleft:{{{3|{{{day}}}}}}|2|0}}">{{#if:{{{df|}}}|{{#expr:{{{3|{{{day}}}}}}}} {{MONTHNAME|{{{2|{{{month}}}}}}}}|{{MONTHNAME|{{{2|{{{month}}}}}}}} {{#expr:{{{3|{{{day}}}}}}}},}} {{{1|{{{year}}}}}}</time> (age&nbsp;{{{4}}})</onlyinclude></includeonly><noinclude>
+
<includeonly><onlyinclude><time class="dday deathdate" datetime="{{{1|{{{year}}}}}}-{{padleft:{{{2|{{{month}}}}}}|2|0}}-{{padleft:{{{3|{{{day}}}}}}|2|0}}">{{#if:{{{df|}}}|{{#expr:{{{3|{{{day}}}}}}}} {{MONTHNAME|{{{2|{{{month}}}}}}}}|{{MONTHNAME|{{{2|{{{month}}}}}}}} {{#expr:{{{3|{{{day}}}}}}}},}} {{{1|{{{year}}}}}}</time> (aged&nbsp;{{{4}}})</onlyinclude></includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 13:28, 29 May 2013

Template documentation[view] [edit] [history] [purge]

Syntax

{{Death date and given age|YYYY|MM|DD|age}}

Examples

{{Death date and given age|1846|01|04|25}}: (aged 25)