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

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Jonesey95
(Update from sandbox to add the ability to omit specifics of birth date)
imported>Primefac
(rmv span class that could possibly be messing with wikidata (shocker))
Line 1: Line 1:
<includeonly>{{#if:{{{df|}}}|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}}|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}},}} {{{1}}}<span style="display:none">(<span class="dday deathdate">{{{1}}}-{{padleft:{{MONTHNUMBER|{{{2}}}}}|2|0}}-{{padleft:{{{3}}}|2|0}}</span>)</span> (aged&nbsp;{{#if:{{{5|}}}
+
<includeonly>{{#if:{{{df|}}}|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}}|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}},}} {{{1}}}<span style="display:none">({{{1}}}-{{padleft:{{MONTHNUMBER|{{{2}}}}}|2|0}}-{{padleft:{{{3}}}|2|0}})</span> (aged&nbsp;{{#if:{{{5|}}}
 
  |{{#if:{{{6|}}}
 
  |{{#if:{{{6|}}}
 
   |<!-- if all birth values are specified -->{{age|{{{4}}}|{{{5}}}|{{{6}}}|{{{1}}}|{{{2}}}|{{{3}}}}}
 
   |<!-- if all birth values are specified -->{{age|{{{4}}}|{{{5}}}|{{{6}}}|{{{1}}}|{{{2}}}|{{{3}}}}}

Revision as of 19:50, 1 April 2018

Template documentation[create]