တမ်းပလိတ်:Birth-date and age/doc
ဤစာမျက်နှာမှာ တမ်းပလိတ်:Birth-date and age တမ်းပလိတ်အတွက် အသုံးပြုပုံ လက်စွဲ (documentation) ၏ စာမျက်နှာခွဲ (subpage) တစ်ခုဖြစ်သည်။ ဤစာမျက်နှာတွင် မူရင်း တမ်းပလိတ် page ၌ တစိတ်တပိုင်းအဖြစ် မပါဝင်သည့် အသုံးပြုပုံပြုနည်းနှင့် သက်ဆိုင်သည့် သတင်းအချက်များ၊ ကဏ္ဍများ နှင့် အခြားအချက်အလက်များ ပါဝင်သည်။ |
Returns a person's date of birth and age.
Besides calculating the age of the person, the benefit of using this template, is to allow for the inclusion of hidden metadata to be used, indexed or searched by software tools.
Typical Usage
ပြင်ဆင်ရန်- Format
{{Birth-date and age| birth date}}
{{Birth-date and age| birth date | wikitext to display in place of 'birth date'. Like the right hand parameter in a wikilink, this could be alternate text, links, templates etc. }}
Examples
ပြင်ဆင်ရန်Birth-date and age examples (colors for emphasis only): |
Month first format: Sample below displays ဧပြီ ၁၂, ၁၉၄၁
(အသက် ၈၃), with invisible microformat date: 1941-04-12
|
Day first format: Sample below displays ၁၂ ဧပြီ ၁၉၄၁
(အသက် ၈၃), with invisible microformat date: 1941-04-12
|
Year only, year and month only: Sample below displays ၁၉၄၁
(အသက် ၈၃), with invisible microformat date: 1941
|
Demo of ISO date, as well as alternate displays. Sample below displays Twelfth of ဧပြီ, ၁၉၄၁
(အသက် ၈၃), with invisible microformat date: 1941-04-12
|
Full list of Parameters
ပြင်ဆင်ရန်{{birth-date and age|
birth date|additional parameters}}
Parameters
ပြင်ဆင်ရန်Parameter | Default | ||
---|---|---|---|
(required) | 1 | Birth date. May be year only, year and month, year month and day, expressed in natural formats: e.g.: 24 August 1953, 1955-08-25, Sunday, December 7, 1941. If parameter three is not specified, the birth date is displayed in exactly this format. This value as well as parameter 2 may not include links. If links or templates that do not evaluate as recognizable dates are desired, use parameter 2. | – |
(optional) | 2 | The birth date to display. This may include links or templates, or any combination of them, and overrides parameter 1. | parm 1 |
(optional) | bce | If birth date is BC, set to "b". | – |
(optional) | gregorian | If Julian date is used, this parameter is required. The date provided is used for emitting the correct microformat translation of the birth date. | parm 1 |
(optional) | dt | This value if present is the ISO8601 value emitted to indicate microformat birth date. It overrides any calculated value. | – |
Interaction side-effects with other templates
ပြင်ဆင်ရန်Note: Do not use this template inside of the Persondata template as it can interfere with data extraction.