Template:Age in days hyphen: Difference between revisions

no edit summary
(Debugging)
No edit summary
Line 16: Line 16:
|day1  = {{#explode:{{{1}}}|-|2}}
|day1  = {{#explode:{{{1}}}|-|2}}


|year2  = {{#if:{{{2}}}| {{#explode:{{{2}}}|-|0}} | {{CURRENTYEAR}}}}
|year2  = {{#if:{{{2|}}}| {{#explode:{{{2}}}|-|0}} | {{CURRENTYEAR}}}}


|month2 = {{#if:{{{2}}}| {{#explode:{{{2}}}|-|1}} | {{CURRENTMONTH}}}}
|month2 = {{#if:{{{2|}}}| {{#explode:{{{2}}}|-|1}} | {{CURRENTMONTH}}}}


|day2  = {{#if:{{{2}}}| {{#explode:{{{2}}}|-|2}} | {{CURRENTDAY}}}}
|day2  = {{#if:{{{2|}}}| {{#explode:{{{2}}}|-|2}} | {{CURRENTDAY}}}}