टेम्पलेट:Age in years, months and days/display: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
doc
sync with sandbox
लाइन 1:
{{#switch:{{{years|{{{1|0}}}}}}
| 0 =
| 1 = {{nowrap begin}}1 year
| #default = {{nowrap begin}}{{{years|{{{1|0}}}}}} years
}}{{#ifeq:{{{years|{{{1|0}}}}}}|0|<!--null-->|{{#ifeq:{{{months|{{{2|0}}}}}}|0|<!--null-->|{{#ifeq:{{{days|{{{3|0}}}}}}|0|{{nowrap end}} and&#32;|,{{nowrap end}}&#32;}} }} }}{{#switch:{{{months|{{{2|0}}}}}}
}}{{#ifeq:{{{years|{{{1}}}}}}|0
| 0 =
|<!--null-->
| 1 = 1 month
|{{#ifeq:{{{months|{{{2}}}}}}|0
| #default = {{#ifeq:{{{years|{{{1|0}}}}}}|0|<!--null-->|{{#ifeq:{{{days|{{{3|0}}}}}}|0|}}}} {{nowrap begin}}{{{months|{{{2|0}}}}}} months
|<!--null-->
}}{{#ifeq:{{{years|{{{1|0}}}}}}|0|{{#ifeq:{{{months|{{{2|0}}}}}}|0|<!--null-->|{{#ifeq:{{{days|{{{3|0}}}}}}|0|<!--null-->|{{nowrap end}} and&#32;}} }}|{{#ifeq:{{{days|{{{3|0}}}}}}|0|<!--null-->|{{nowrap end}} and&#32;}} }}{{#switch:{{{days|{{{3|0}}}}}}
|{{#ifeq:{{{days|{{{3}}}}}}|0
| 0 = {{#ifeq:{{{years|{{{1|0}}}}}}|0|{{#ifeq:{{{months|{{{2|0}}}}}}|0|no days at all!}} }}
|&nbsp;and
| 1 = 1 day
|,&nbsp;
| #default = {{#ifeq:{{{years|{{{1|0}}}}}}|0|{{#ifeq:{{{months|{{{2|0}}}}}}|0|<!--null-->}} }}{{nowrap begin}}{{{days|{{{3|0}}}}}} days{{nowrap end}}
}}
}}
}}{{#switch:{{{months|{{{2}}}}}}
|0=
|1=&nbsp;1 month
|{{#ifeq:{{{years|{{{1}}}}}}|0
|<!--null-->
|{{#ifeq:{{{days|{{{3}}}}}}|0
|&nbsp;
}}
}}{{{months|{{{2}}}}}} months
}}{{#ifeq:{{{years|{{{1}}}}}}|0
|{{#ifeq:{{{months|{{{2}}}}}}|0
|<!--null-->
|{{#ifeq:{{{days|{{{3}}}}}}|0
|<!--null-->
|,&nbsp;and
}}
}}
|{{#ifeq:{{{days|{{{3}}}}}}|0
|<!--null-->
|{{#ifeq:{{{months|{{{2}}}}}}|0
|<!--null-->
|,
}}&nbsp;and
}}
}}{{#switch:{{{days|{{{3}}}}}}
|0={{#ifeq:{{{years|{{{1}}}}}}|0
|{{#ifeq:{{{months|{{{2}}}}}}|0
|no days at all!
}}
}}
|1=&nbsp;1 day
|{{#ifeq:{{{years|{{{1}}}}}}|0
|{{#ifeq:{{{months|{{{2}}}}}}|0
|<!--null-->
|&nbsp;
}}
|&nbsp;
}}{{{days|{{{3}}}}}} days
}}<noinclude>{{doc}}</noinclude>