打开/关闭菜单
打开/关闭个人菜单
未登录
如果您进行任何编辑,您的IP地址会公开展示。

Template:DateAfter:修订间差异

模板页面
添加的内容 删除的内容
(调用模块计算天数)
 
无编辑摘要
 
第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>

2023年11月28日 (二) 19:18的最新版本

0

模板文档[查看] [编辑] [历史] [清除缓存]

输出距目标日期已经过去了多少天。分别使用参数{{{year}}}{{{month}}}{{{day}}}指定目标日期的年份、月份、和日期。

上述文档嵌入自Template:DateAfter/doc(编辑 | 历史)

输出距目标日期已经过去了多少天。

模板参数[编辑模板数据]

参数描述类型状态
year

目标年份

数字必需
month

目标月份

数字必需
day

目标日期

数字必需
我们提供服务需要使用Cookie。您使用我们的服务,即表示您同意我们使用Cookie。