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

From blackwiki
Jump to navigation Jump to search
imported>GPHemsley
(Created page with '<includeonly><onlyinclude><time datetime="{{{1|{{{year}}}}}}-{{padleft:{{{2|{{{month}}}}}}|2|0}}-{{padleft:{{{3|{{{day}}}}}}|2|0}}">{{#if:{{{df|}}}|{{#expr:{{{3|...')
 
imported>GPHemsley
(Add classes)
Line 1: Line 1:
<includeonly><onlyinclude><time 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> (age&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 16:51, 28 April 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}}: (age 25)