Template:Death date and agePhin: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
|dt = {{{dt|}}} | |dt = {{{dt|}}} | ||
|{{{gregorian|{{{1|}}} }}} | |{{{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}}}))< {{RP|1900}}) and ({{#time:Y|{{{2|0009-11}}}}} >{{RP|1900}}) | {{#ifexpr:({{#time:Y|{{{2|0009-11}}}}}) <{{RP|2000}}|{{#expr:{{#time:Y|{{{2|0009-11}}}}}-{{RP|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}}}))< {{RP|1900}}) and ({{#time:Y|{{{1|0009-11}}}}} >{{RP|1900}}) | {{#ifexpr:({{#time:Y|{{{1|0009-11}}}}}) <{{RP|2000}}|{{#expr:{{#time:Y|{{{1|0009-11}}}}}-{{RP|1900}}}}|{{#expr:{{#time:Y|{{{1|0009-11}}}}}-{{RP|2000}}}} }} |{{#time:Y|{{{1|0009-11}}}}} }}|{{#time:Y|{{{1|0009-11}}}}} }}{{#switch:{{{bce|}}}|bd|d|db=*(-1) +1}}}} }}|{{#time:m|{{{1|}}}}}|{{#time:d|{{{1|}}}}} }})</includeonly><noinclude> | |{{{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}}}))< {{RP|1900}}) and ({{#time:Y|{{{2|0009-11}}}}} >{{RP|1900}}) | {{#ifexpr:({{#time:Y|{{{2|0009-11}}}}}) <{{RP|2000}}|{{#expr:{{#time:Y|{{{2|0009-11}}}}}-{{RP|1900}}}}|{{#expr:{{#time:Y|{{{2|0009-11}}}}}-{{RP|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}}}))< {{RP|1900}}) and ({{#time:Y|{{{1|0009-11}}}}} >{{RP|1900}}) | {{#ifexpr:({{#time:Y|{{{1|0009-11}}}}}) <{{RP|2000}}|{{#expr:{{#time:Y|{{{1|0009-11}}}}}-{{RP|1900}}}}|{{#expr:{{#time:Y|{{{1|0009-11}}}}}-{{RP|2000}}}} }} |{{#time:Y|{{{1|0009-11}}}}} }}|{{#time:Y|{{{1|0009-11}}}}} }}{{#switch:{{{bce|}}}|bd|d|db=*(-1) +1}}}} }}|{{#time:m|{{{1|}}}}}|{{#time:d|{{{1|}}}}} }})</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 13:11, 9 August 2021
[create] Template documentation
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. |