Template:出生、逝世及日期模板
出生、逝世及日期模板 |
---|
出生,逝世,年龄 |
---|
模板 | 描述 / 用法 | {BirthDeathAge} | 结合了以下模板的功能:{Birth date}、{Birth-date}、{Birth date and age}、{Birth year and age}、{Death date}、{Death-date}、{Death date and age}和{Death year and age}。 |
|
|
只有年龄 |
---|
模板 | 描述 / 用法 | {Age} | 两个日期之间的完整年数。 | {Age nts} | {Age}以及用于可排序表格的格式化输出。 | {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. |
|
|
|
|
|
用法
如何管理这个模板的可折叠组选项
- 如何控制本模板的显示状态
- 使用
{出生、逝世及日期模板|state=collapsed}
使本模板显示为折叠(隐藏)状态。
- 使用
{出生、逝世及日期模板|state=expanded}
使本模板显示为展开(显示)状态。
- 使用
{出生、逝世及日期模板|state=autocollapse}
使本模板仅在页面上有其他相同类型的模板时,显示为折叠(隐藏)状态。
expanded
已被设为默认状态。