Difference between revisions of "Template:Days from now"
Jump to navigation
Jump to search
(copied from Wikipedia) |
(require named parameters) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#ifexpr: {{#expr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} * -1}} > 60 | {{#expr: floor{{#expr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} * -1 / 30 }}}} months | {{#if: {{{highlight|}}} | '''{{#expr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} * -1}} days''' | {{#expr: {{age in days|{{{1}}}|{{{2}}}|{{{3}}}}} * -1}} days }} }}</includeonly><noinclude>{{documentation}}</noinclude> | + | <includeonly>{{#ifexpr: {{#expr: {{age in days|month1={{{1}}}|day1={{{2}}}|year1={{{3}}}}} * -1}} > 60 | {{#expr: floor{{#expr: {{age in days|month1={{{1}}}|day1={{{2}}}|year1={{{3}}}}} * -1 / 30 }}}} months | {{#if: {{{highlight|}}} | '''{{#expr: {{age in days|month1={{{1}}}|day1={{{2}}}|year1={{{3}}}}} * -1}} days''' | {{#expr: {{age in days|month1={{{1}}}|day1={{{2}}}|year1={{{3}}}}} * -1}} days }} }}</includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 14:38, January 15, 2017
[create] Template documentation