"ಟೆಂಪ್ಲೇಟು:Age in years and days" ಆವೃತ್ತಿಗಳ ಮಧ್ಯದ ಬದಲಾವಣೆಗಳು

avoid double computation of nr. of years. This should make it work with the NTS templates on the templates it is using.
(avoid double computation of nr. of days)
(avoid double computation of nr. of years. This should make it work with the NTS templates on the templates it is using.)
<includeonly>{{age |in {{{1}}}years | {{{2}}}and days/years| {{{3}}} | {{{4|{{CURRENTYEAR}}}}} | {{{5|{{CURRENTMONTH}}}}} | {{{6|{{CURRENTDAY}}}}}}} {{#ifexpr: {{age | {{{1}}} | {{{2}}} | {{{3}}} | {{{4|{{CURRENTYEAR}}}}} | {{{5|{{CURRENTMONTH}}}}} | {{{6|{{CURRENTDAY}}}}}}}=1 |year|years}}, {{age in years and days/days|{{age in days | {{#ifexpr: {{{5|{{CURRENTMONTH}}}}}<{{{2}}} | {{#expr:{{{4|{{CURRENTYEAR}}}}}-1}} | {{#ifexpr:{{{5|{{CURRENTMONTH}}}}}={{{2}}} | {{#ifexpr:{{{6|{{CURRENTDAY}}}}}<{{{3}}} | {{#expr:{{{4|{{CURRENTYEAR}}}}}-1}} | {{{4|{{CURRENTYEAR}}}}}}} | {{{4|{{CURRENTYEAR}}}}}}}}} | {{{2}}} | {{{3}}} | {{{4|{{CURRENTYEAR}}}}} | {{{5|{{CURRENTMONTH}}}}} | {{{6|{{CURRENTDAY}}}}}}}}}</includeonly><noinclude>{{template doc}}</noinclude>

edit

"https://kn.wikipedia.org/wiki/ವಿಶೇಷ:MobileDiff/395151" ಇಂದ ಪಡೆಯಲ್ಪಟ್ಟಿದೆ