切換菜單
切換個人選單
尚未登入
如果您进行任何编辑,您的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 的最新修訂

-1

模板文檔[查看] [編輯] [歷史] [清除緩存]

輸出距目標日期已經過去了多少天。分別使用參數{{{year}}}{{{month}}}{{{day}}}指定目標日期的年份、月份、和日期。

上述文檔嵌入自Template:DateAfter/doc(編輯 | 歷史)

輸出距目標日期已經過去了多少天。

模板參數[編輯模板資料]

參數描述類型狀態
year

目標年份

數值必填
month

目標月份

數值必填
day

目標日期

數值必填
Cookies 幫助我們給予服務內容。依您有使用我們的服務,代表您同意我們使用 cookies。