Changes
Add a documentation
<includeonly>{{
#ifeq: {{{1|xnone<noinclude>more</noinclude>}}}|xnone|
<br>{{color|darkorange|'''{Years and days}: Expected count of days, but found: {{{1}}}'''<br>}}
}}{{
#ifexpr: {{{1|777}}} > 365
|{{#ifexpr: {{{1|777}}} < 2*365
|1 year, 
|{{formatnum: {{
#expr: floor( {{{1|4200}}} / 365.25 )}} }} years,
}}{{
#expr: ( {{{1|4200}}} - floor( {{{1|4200}}} / 365.25 )*365.25 ) round 0
}} {{plural:{{
#expr: ( {{{1|777}}} - floor( {{{1|777}}} / 365.25 )*365.25 ) round 0
}}|day|days}}
|{{#switch: {{{1|364}}}
| 1 = 1 day
| 365 = 1 year
| #default = {{{1}}} days
}}
}}</includeonly><noinclude>
{{Documentation}}
</noinclude>
#ifeq: {{{1|xnone<noinclude>more</noinclude>}}}|xnone|
<br>{{color|darkorange|'''{Years and days}: Expected count of days, but found: {{{1}}}'''<br>}}
}}{{
#ifexpr: {{{1|777}}} > 365
|{{#ifexpr: {{{1|777}}} < 2*365
|1 year, 
|{{formatnum: {{
#expr: floor( {{{1|4200}}} / 365.25 )}} }} years,
}}{{
#expr: ( {{{1|4200}}} - floor( {{{1|4200}}} / 365.25 )*365.25 ) round 0
}} {{plural:{{
#expr: ( {{{1|777}}} - floor( {{{1|777}}} / 365.25 )*365.25 ) round 0
}}|day|days}}
|{{#switch: {{{1|364}}}
| 1 = 1 day
| 365 = 1 year
| #default = {{{1}}} days
}}
}}</includeonly><noinclude>
{{Documentation}}
</noinclude>