更多語言
更多操作
刪去的內容 新增的內容
调用模块计算天数 |
無編輯摘要 |
||
第1行: | 第1行: | ||
{{#invoke:DateAfter|main|{{{year|{{LOCALYEAR}}}}}|{{{month|{{LOCALMONTH1}}}}}|{{{day|{{LOCALDAY}}}}}}} |
{{#invoke:DateAfter|main|{{{year|{{LOCALYEAR}}}}}|{{{month|{{LOCALMONTH1}}}}}|{{{day|{{LOCALDAY}}}}}}}<noinclude> |
||
{{doc}} |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"year": { |
|||
"label": "年", |
|||
"description": "目标年份", |
|||
"type": "number", |
|||
"required": true |
|||
}, |
|||
"month": { |
|||
"label": "月", |
|||
"description": "目标月份", |
|||
"type": "number", |
|||
"required": true |
|||
}, |
|||
"day": { |
|||
"label": "日", |
|||
"description": "目标日期", |
|||
"type": "number", |
|||
"required": true |
|||
} |
|||
}, |
|||
"description": "输出距目标日期已经过去了多少天。" |
|||
} |
|||
</templatedata></noinclude> |