Template:Death year and age
ナビゲーションに移動
検索に移動
存命人物で誕生日を年及び月しか公表していない場合に現年齢の範囲を計算して表示するテンプレートです。
入力[編集]
{{Birth year and age|生誕年}} {{Birth year and age|生誕年|生誕月(任意)}} {{Death year and age|死没年|生誕年}} {{Death year and age|死没年|生誕年|死没月(任意)}}
使用例[編集]
本日の日付(2019年12月9日)を元に年齢を計算。
入力 | 表示 |
---|---|
{{Birth year and age|1964}} | 1964年(54–55歳) |
{{Birth year and age|1964|12}} | 1964年12月 (54–55歳) |
{{Death year and age|2018|1968}} | 2018年(49–50歳) |
{{Death year and age|2018|1968|12}} | 2018年12月(49–50歳) |
この解説は、Template:Death year and age/docから呼び出されています。 (編集 | 履歴) 編集者は、このテンプレートをサンドボックス (作成 | 複製)とテストケース (作成)で試すことができます。(解説) /docのサブページにカテゴリを追加してください。 このテンプレートのサブページ一覧。 |