Difference between revisions of "Template:Death date and age"
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">( | + | <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 {{#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}}}}} |