66
edits
(Created page with "{{#if: {{{1|}}} | {{#expr: ( {{#time:Y}} - {{#time:Y|{{{1}}}}} ) - ( {{#ifexpr: {{#time:n}} < {{#time:n|{{{1}}}}} or ({{#time:n}} = {{#time:n|{{{1}}}}} and {{#time:j}} < {{#time:j|{{{1}}}}}) | 1 | 0 }} ) }} | ''Error: No date provided.'' }}") |
mNo edit summary |
||
| Line 3: | Line 3: | ||
{{#expr: | {{#expr: | ||
( {{#time:Y}} - {{#time:Y|{{{1}}}}} ) | ( {{#time:Y}} - {{#time:Y|{{{1}}}}} ) | ||
- ( {{#ifexpr: {{#time: | - ( {{#ifexpr: {{#time:md}} < {{#time:md|{{{1}}}}} | 1 | 0 }} | ||
) | ) | ||
}} | }} | ||
| | | Error: No date provided. | ||
}} | }} | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Date", | |||
"example": "1990-9-20", | |||
"suggestedvalues": [ | |||
"1990-9-20" | |||
] | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | |||