模板:Birth date

维基百科,自由的百科全书
跳转到导航 跳转到搜索

({{{year}}}-表达式错误:无法识别标点符号“{”。year=1993|month=2|day=24}}

页面上显示为:

(1993-02-24) 1993年2月24日33歲)

例2,也可以省略變數名稱,例如:

{{Birth date and age|1993|2|24}}

页面上显示为:

(1993-02-24) 1993年2月24日33歲)

例3,若使用:

{{Birth date|1993|02|24}}

则页面上显示为:

(1993-02-24)1993年2月24日

重定向[编辑]

{{生日和年齡}}重定向至{{Birth date and age}}。

参见[编辑]

<templatedata> { "params": { "year": { "label": "出生年份", "description": "请填写四位数的阿拉伯数字,不须加上“年”", "type": "number", "required": true, "aliases": [ "1" ] }, "day": { "label": "出生日", "description": "请填写阿拉伯数字,不须加上“日”", "type": "number", "suggested": true, "aliases": [ "3" ] }, "month": { "label": "出生月份", "description": "请填写阿拉伯数字,不须加上“月”", "type": "number", "suggested": true, "aliases": [ "2" ] } }, "description": "显示出生日期,并在其后自动计算并加注今年的年龄。如果知道出生日,但只欲显示出生年份,请使用 ({{{year}}{{{month}}}-{{{day}}}) {{{year}}}年错误:需要有效的年月日岁)。如果不知道出生日,只知道出生年份,请使用未指定年份。", "maps": { "生日和年龄": {}, "生日和年龄 ": {} }, "paramOrder": [ "year", "month", "day" ], "format": "inline" } </templatedata>