For faster navigation, this Iframe is preloading the Wikiwand page for
Template:End date .
此Template被引用於10,000+個頁面 。為了避免造成大規模的影響,所有對此Template的編輯應先於沙盒 、測試樣例 或您的沙盒 上測試。 測試後無誤的版本可以一次性地加入此Template中,但是修改前請務必於討論頁 發起討論。
模板引用數量會自動更新。
模板((Start date )) 及((End date )) 會傳回一個日期值,又或日期與時間的值。這個值傳回的同時,還附帶一個隱藏的ISO日期格式(以CSS實現),以供微格式 使用。當用戶端不能使用CSS時,這個隱藏的日期會自動降格。
何時不應使用這一模板?
請勿將此模板用於以下用途:
不確定的日期,例如「1933年4月4日前」、「大約1939年11月18日」。
不在限制 範圍內的日期。
其他或次要的日期。
不在微格式 發出模板內的日期——若有疑問,請參閱上層模板文件。
在任何上層模板中多於一個日期。
用法
((start date |year|month|day))
((start date |year|month|day|HH|MM|SS|TimeZone))
(MM and SS are optional; TimeZone may be a numerical value, or "Z" for UTC ; see examples)
例子:
((start date |1993))
→ "1993年 (1993 ) "
((start date |1993|02))
→ "1993年2月 (1993-02 ) "
((start date |1993|02|24))
→ "1993年2月24日 (1993-02-24 ) "
((start date |1993|02|24|08|30))
→ "1993年2月24日 08:30 (1993-02-24T08:30 ) "
((start date |1993|02|24|08|||+01:00))
→ "1993年2月24日 (+01:00) (1993-02-24T08+01:00 ) "
((start date |1993|02|24|08|||-07:00))
→ "1993年2月24日 (-07:00) (1993-02-24T08-07:00 ) "
((start date |1993|02|24|08|30|23))
→ "1993年2月24日 08:30:23 (1993-02-24T08:30:23 ) "
((start date |1993|02|24|08|30|23|Z))
→ "1993年2月24日 08:30:23 (UTC) (1993-02-24T08:30:23Z ) "
((start date |1993|02|24|08|30|23|+01:00))
→ "1993年2月24日 08:30:23 (+01:00) (1993-02-24T08:30:23+01:00 ) "
((start date |1993|02|24|08|30|23|-07:00))
→ "1993年2月24日 08:30:23 (-07:00) (1993-02-24T08:30:23-07:00 ) "
原來的英文版有 df 選項,當這選項被設定時,會強制日期以歐洲式(即 日/月/年 ,而非北美式的 月/日/年)顯示。這個選項在中文版無效。 例如:
((Start date|1993|02|24|08|30|df=yes)) 仍然顯示為 年/月/日: "1993年2月24日 08:30 (1993-02-24T08:30 ) "
注意:
如果year参数留空的话,即使後面有填入month、day參數也不會顯示:
((Start date| |02|24)) 返回 " ( ) "(空白)
如果有year、day參數無month參數,只顯示年份,其它情況如此類推:
((Start date|1993| |24)) 返回 "1993年 (1993 ) "
參數
模板参数[ 编辑模板数据 ]
参数 描述 类型 状态 YYYY 1
開始的年份
数字 可选 MM 2
開始的月份
数字 可选 DD 3
開始的日期
数字 可选 HH 4
開始的小時數
数字 可选 MM 5
開始的分鐘數
默认值 0 数字 可选 SS 6
開始的秒鐘數
默认值 0 数字 可选 TZ 7
時區位移,「+02:00」、「-06:00」或用「Z」表示UTC
单行文本 可选 day first df
Boolean參數,用以將日期置於月份前
默认值 false 单行文本 可选
中文维基暂无该微格式模板。
详情请看 微格式专题 。
參看
出生、逝世及日期模板
出生,逝世,年龄
模板 描述 / 用法 ((BirthDeathAge )) Combines functions of ((Birth date)), ((Birth-date)), ((Birth date and age)), ((Birth year and age)), ((Death date)), ((Death-date)), ((Death date and age)), and ((Death year and age)).
模板 描述 / 用法 ((Birth date )) To display a birth date and related hidden metadata. ((Birth-date )) ((Birth date and age )) ((Birth date)) with suffix "(age N )". ((Birth date and age2 )) ((Birth date and age)) plus age as of a specified date. ((Birth-date and age )) As ((Birth date and age)) but accepts dates in text form ("15 June 1950", "June 15, 1950", "June 1950", etc). ((Birth year and age )) Year of birth and approximate age. ((Birth based on age as of date )) To display approximate birth year and current age given a particular date (e.g. when a dated reference mentions the age of a person). ((Birth date based on age at death)) To display approximate birth year based on age at death.
只有年龄
模板 描述 / 用法 ((Age )) Age based on number of complete years between two dates. ((Age nts )) ((Age)) with output formatted for use in Help:可排序表格 . ((Age as of date)) Current age (in years) from a known age at a specified date. ((Age for infant)) Current age for infant: months and days up to one year, years and months up to three years, and years beyond age 3.
通用 政府和政治
軍事 宗教 社會 一般非营利
商業 体育 职务衔级 子模板
{{bottomLinkPreText}}
{{bottomLinkText}}
This page is based on a Wikipedia article written by
contributors (read /edit ).
Text is available under the
CC BY-SA 4.0 license; additional terms may apply.
Images, videos and audio are available under their respective licenses.
{{current.index+1}} of {{items.length}}
Thanks for reporting this video!
This browser is not supported by Wikiwand :( Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience. Please download and use one of the following browsers:
An extension you use may be preventing Wikiwand articles from loading properly.
If you're using HTTPS Everywhere or you're unable to access any article on Wikiwand, please consider switching to HTTPS (https ://www.wikiwand.com).
An extension you use may be preventing Wikiwand articles from loading properly.
If you are using an Ad-Blocker , it might have mistakenly blocked our content.
You will need to temporarily disable your Ad-blocker to view this page.
✕
This article was just edited, click to reload
Please click Add in the dialog above
Please click Allow in the top-left corner, then click Install Now in the dialog
Please click Open in the download dialog, then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list, then click Install
{{::$root.activation.text}}
Follow Us
Don't forget to rate us
Oh no, there's been an error
Please help us solve this error by emailing us at
support@wikiwand.com
Let us know what you've done that caused this error, what browser you're using, and whether you have any special extensions/add-ons installed.
Thank you!