For faster navigation, this Iframe is preloading the Wikiwand page for
Template:Birth date.
((({year))}-表达式错误:无法识别标点符号“{”。-(({day))})1900年1月1日
| 此Template被引用於29,000+個頁面。 為了避免造成大規模的影響,所有對此Template的編輯應先於沙盒、測試樣例或您的沙盒上測試。 測試後無誤的版本可以一次性地加入此Template中,但是修改前請務必於討論頁發起討論。
模板引用數量會自動更新。 |
使用模板((Birth date and age))將會顯示出生日期,並在其後自動計算並加註今年的年齡。((Birth date))是一个用法相似的模板,但不会加注年龄。
如果知道出生日,但只欲顯示出生年份,請使用((Birth year and age confirmed))。如果不知道出生日,只知道出生年份(含月份),請使用((Birth year and age))。
使用說明
本頁說明全部範例所使用的今天日期是
2024年9月9日
請使用以下原始碼:
((Birth date|year=|month=|day=))
((Birth date and age|year=|month=|day=))
其中:
- year:出生西元年份(請填寫四位數的阿拉伯數字,不須加上「年」)
- month:出生月份(請填寫阿拉伯數字,不須加上「月」)
- day:出生日(請填寫阿拉伯數字,不須加上「日」)
範例
例1,使用:
((Birth date and age|year=1993|month=2|day=24))
页面上显示为:
(1993-02-24) 1993年2月24日(31歲)
例2,也可以省略變數名稱,例如:
((Birth date and age|1993|2|24))
页面上显示为:
(1993-02-24) 1993年2月24日(31歲)
例3,若使用:
((Birth date|1993|02|24))
则页面上显示为:
(1993-02-24)1993年2月24日
重定向
((生日和年齡))重定向至((Birth date and age))。
参见
出生、逝世及日期模板 |
---|
| 出生,逝世,年龄 |
---|
| 模板 | 描述 / 用法 | ((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. |
|
| | | | | | |
|
模板参数[编辑模板数据]
此模板首选参数不换行的行内格式。
参数 | 描述 | 类型 | 状态 |
---|
出生年份 | year | 请填写四位数的阿拉伯数字,不须加上“年”
| 数字 | 必需 |
---|
出生日 | day | 请填写阿拉伯数字,不须加上“日”
| 数字 | 推荐 |
---|
出生月份 | month | 请填写阿拉伯数字,不须加上“月”
| 数字 | 推荐 |
---|
{{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!