Template:Days since: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 8: | Line 8: | ||
}}{{ | }}{{ | ||
#ifexpr: {{age in days|{{{1|2011}}}|{{{2|3}}}|{{{3|4}}}}} > 365 | #ifexpr: {{age in days|{{{1|2011}}}|{{{2|3}}}|{{{3|4}}}}} > 365 | ||
| {{#expr: floor( {{age in days|{{{1|2011}}}|{{{2|3}}}|{{{3|4}}}}} / 365) }} years | | {{#expr: floor( {{age in days|{{{1|2011}}}|{{{2|3}}}|{{{3|4}}}}} / 365) }} years, {{#expr: {{age in days|{{{1|2011}}}|{{{2|3}}}|{{{3|4}}}}} mod 365}} days ago | ||
| {{#ifexpr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} > 30 | | {{#ifexpr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} > 30 | ||
| {{#expr: floor{{#expr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} / 30}}}}{{#ifeq: {{{short|}}} | yes | m | months ago }} | | {{#expr: floor{{#expr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} / 30}}}}{{#ifeq: {{{short|}}} | yes | m | months ago }} |