Template:Death date and agePhin: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
(Removed redirect to Template:Death date and age) Tag: Removed redirect |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | <includeonly>{{death-date | ||
|dt = {{{dt|}}} | |||
|{{{gregorian|{{{1|}}} }}} | |||
|{{{3|{{{1|}}}}}}}} (aged {{age|{{#ifeq:"{{lc:{{{2|0009-11}}}}}"|"{{padleft:{{#expr:{{{2|0009-11}}}}}|4|0}}"|<!--Here if it is a 4 digit year only-Test1 satisfied: see talk -->{{{2|0009-11}}}|{{#expr: {{#iferror:{{#ifexpr:((abs({{{2|0009-11}}}))< 1900) and ({{#time:Y|{{{2|0009-11}}}}} >1900) | {{#ifexpr:({{#time:Y|{{{2|0009-11}}}}}) <2000|{{#expr:{{#time:Y|{{{2|0009-11}}}}}-1900}}|{{#expr:{{#time:Y|{{{2|0009-11}}}}}-2000}} }} |{{#time:Y|{{{2|0009-11}}}}} }}|{{#time:Y|{{{2|0009-11}}}}} }}{{#switch:{{{bce|}}}|b|d|bd|db=*(-1) +1}}}} }}|{{#time:m|{{{2|}}}}}|{{#time:d|{{{2|}}}}}|{{#ifeq:"{{lc:{{{1|0009-11}}}}}"|"{{padleft:{{#expr:{{{1|0009-11}}}}}|4|0}}"|<!--Here if it is a 4 digit year only-Test1 satisfied: see talk -->{{{1|0009-11}}}|{{#expr: {{#iferror:{{#ifexpr:((abs({{{1|0009-11}}}))< 1900) and ({{#time:Y|{{{1|0009-11}}}}} >1900) | {{#ifexpr:({{#time:Y|{{{1|0009-11}}}}}) <2000|{{#expr:{{#time:Y|{{{1|0009-11}}}}}-1900}}|{{#expr:{{#time:Y|{{{1|0009-11}}}}}-2000}} }} |{{#time:Y|{{{1|0009-11}}}}} }}|{{#time:Y|{{{1|0009-11}}}}} }}{{#switch:{{{bce|}}}|bd|d|db=*(-1) +1}}}} }}|{{#time:m|{{{1|}}}}}|{{#time:d|{{{1|}}}}} }}){{#invoke:check for unknown parameters|check|unknown=[[Category:Death-date and age transclusions with invalid parameters|_VALUE_]]|preview=unknown parameter "_VALUE_"|1|2|3|dt|gregorian|bce}}</includeonly><noinclude> | |||
{{documentation}} | |||
</noinclude> |
Revision as of 13:00, 9 August 2021
[create]
Template documentation
![](/wiki/images/thumb/6/6b/Template-info.svg.png/50px-Template-info.svg.png)
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |