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

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