Template:Age in years, months and days/display: Difference between revisions
Jump to navigation
Jump to search
JoshuaJSlone (talk | contribs) (Created page with "{{#ifexpr:{{{years|0}}}<0|{{error|Error: Invalid time. }}|}}{{#switch:{{{years|0}}} | 0 = | 1 = 1 year | #default = {{{years}}} years }}{{#ifeq:{{{year...") |
JoshuaJSlone (talk | contribs) m (3 revisions imported) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#ifexpr:{{{years|0}}}<0|{{error|Error: Invalid time. }}|}}{{#switch:{{{years|0}}} | {{#ifexpr:{{{years|0}}}<0|{{error|Error: Invalid time. }}|}}{{#switch:{{{years|0}}} | ||
| 1 = 1 Year, | |||
| 1 = 1 | | #default = {{{years}}} Years, | ||
| #default = {{{years}}} | }}{{#switch:{{{months|0}}} | ||
| 1 = 1 Month, | |||
| #default = {{{months}}} Months, | |||
| 1 = 1 | }}{{#switch:{{{days|0}}} | ||
| #default = {{{months}}} | | 1 = 1 Day | ||
| #default = {{{days}}} Days | |||
| 1 = 1 | |||
| #default = {{{days}}} | |||
}}<noinclude>{{Documentation|Template:Age in years, months and days/doc}}</noinclude> | }}<noinclude>{{Documentation|Template:Age in years, months and days/doc}}</noinclude> |
Latest revision as of 21:46, 16 April 2023
{{{years}}} Years, {{{months}}} Months, {{{days}}} DaysTemplate:Documentation