[キャッシュ破棄]
これは、メインテンプレートページに参照されるべきである解説ページです。詳細についてはテンプレート:Documentationを参照してください構文[]
{{Birth date and age|生誕年|生誕月|生誕日}}
この書式は存命の人物のみを意図しています。存命の人物の誕生日が非グレゴリオ暦の場合は、このテンプレートを使用すべきではありません。パラメータ |year=、|month=、|day= が、それぞれ |1=、|2=、|3= の代わりに指定できます。
例:
{{Birth date and age|1993|2|4}}→ 1993年2月4日(30歳){{Birth date and age|1993|2|4}}→ 1993年2月4日(30歳){{Birth date and age|1993|2|24}}→ 1993年2月24日(30歳){{Birth date and age|1993|2|24}}→ 1993年2月24日(30歳)
註:英語版テンプレートで指定可能なパラメータ |mf= および |df= は、日本語では不必要であるため省略しています。
hCardマイクロフォーマット[]
The templates also returns the date, hidden by CSS, in the ISO 8601 format (but not necessarily to the ISO 8601 standard) needed by hCard microformats. for example:
(<span class="bday">1993-02-24</span>)
See the microformats project for details.