တမ်းပလိတ်:Death date and age

ဝီကီပီးဒီးယား မှ
Documentation icon တမ်းပလိတ်မှတ်တမ်းလက်စွဲ[ကြည့်ရှု] [တည်းဖြတ်] [ရာဇဝင်] [ရှင်းသန့်]

ဤတမ်းပလိတ်မှာ အင်္ဂလိပ်ဝီကီပီးဒီးယားရှိ en:template:death date and age တမ်းပလိတ်ကို မြန်မာမှုပြုထားခြင်း ဖြစ်သည်။

ဤတမ်းပလိတ်ကို ပုဂ္ဂိုလ်တစ်ဦး၏ ကွယ်လွန်သည့် ရက်စွဲနှင့် ကွယ်လွန်ချိန် ပြည့်ပြီးသည့် အသက်ကို ပြရန် သုံးနိုင်သည်။

ကုဒ်ရေးပုံသဒ္ဒါ (syntax)[ပြင်ဆင်ရန်]

ကွယ်လွန်ရက်စွဲနှင့် အသက်ကိုပြရန်[ပြင်ဆင်ရန်]

{{death date and age |ကွယ်လွန်နှစ်|ကွယ်လွန်လ|ကွယ်လွန်ရက်|ဖွားနှစ်|ဖွားလ|ဖွားရက်|အပိုအချက်အလက် ပါရာမီတာများ}}
သုံးစွဲပုံများ (formats)
{{death date and age |yyyy|mm|dd |yyyy|mm|dd |df=yes}}
{{death date and age |yyyy|mm|dd |yyyy|mm|dd |mf=yes}}

Examples[ပြင်ဆင်ရန်]

{{death date and age |1993|2|24 |1941|4|12 |df=yes}} returns:  ၂၄ ဖေဖော်ဝါရီ၊ ၁၉၉၃(1993-02-24) (အသက် ၅၁)
{{death date and age |1993|2|24 |1941|4|12 |mf=yes}} returns:  ဖေဖော်ဝါရီ ၂၄၊ ၁၉၉၃(1993-02-24) (အသက် ၅၁)

Note: The template will appear broken when the parameters are left blank.

"day first" (df) and "month first" options[ပြင်ဆင်ရန်]

The df (day first) parameter indicates the intended date format to display. It is switched on by setting it to "y" or "yes" e.g. df=yes or df=y.

The default output of this template is the month before the day (American-based style). This default may not be appropriate in articles about people from parts of the world where the day precedes the month in a date (e.g. Europe). In such cases the parameter df should be set.

It is possible to use similar parameter "mf" to stress the month-first format so that relying on the default does not lead an editor or bot to change the format to an unintended value; however, it is ignored by the template itself. (So, should both parameters be mistakenly used at once, df takes precedence.)

Examples:

{{death date and age |1993|2|24 |1941|4|12 |df=yes}} displays  "၂၄ ဖေဖော်ဝါရီ၊ ၁၉၉၃(1993-02-24) (အသက် ၅၁)"
{{death date and age |1993|2|24 |1941|4|12 |mf=yes}} displays  "ဖေဖော်ဝါရီ ၂၄၊ ၁၉၉၃(1993-02-24) (အသက် ၅၁)"

Alternate templates when specific date unknown[ပြင်ဆင်ရန်]

When only the year of a person's birth and/or death are known, or if it is desired not to state a person's full dates of birth and death (for e.g. privacy), use the templates {{birth year and age}} and {{death year and age}} instead.

Interaction with other templates[ပြင်ဆင်ရန်]

  • Do not use this template inside the Persondata template as it can interfere with data extraction.

FAQ[ပြင်ဆင်ရန်]

  • Q: Why don't these templates add categories such as "Births in [Year]" to articles where they are used?
A: Because they are sometimes used for dates in lists of people (e.g. members of sports teams).

TemplateData[ပြင်ဆင်ရန်]

အောက်ပါအချက်အလက်များမှာ အင်္ဂလိပ်ဝီကီပီးဒီးယားရှိ ရုပ်မြင်တည်းဖြတ်သူ (VisualEditor) ကဲ့သို့သော ကိရိယာများကို မြန်မာဝီကီပီးဒီးယားတွင် အသုံးပြုလာနိုင်သည့် အနာဂတ်ကို ရည်ရွယ်၍ အင်္ဂလိပ်ဝီကီပီးဒီးယားရှိ တမ်းပလိတ်အချက်အလက်များ (TemplateData) စီမံကိန်းပုံစံရည်ရွယ်၍ မှတ်တမ်းမှတ်ရာ ပြုလုပ်ထားခြင်း ဖြစ်သည်။ ၎င်းကိရိယာများကို အသုံးမပြုသေးသည့်တိုင် ကွန်ပျူတာပရိုဂရမ်ရေးခြင်း (computer programming) နှင့် ပတ်သက်၍ အနည်းငယ်မျှသာ နားလည်သူများပင် ရှင်းရှင်းလင်းလင်းမြင်စေရန် အကျဉ်းချုပ်သဘော အသုံးပြုနိုင်သည်။

Death date and age

This template returns a person's date of death and age at that date.

တမ်းပလိတ် ပါရာမီတာများ[တမ်းပလိတ် ဒေတာကို တည်းဖြတ်ရန်]

ပါရာမီတာဖော်ပြချက်အမျိုးအစားအခြေအနေ
Year of death1

The year in which the person died

Numberလိုအပ်သည်
Month of death2

The month (number) in which the person died

Numberလိုအပ်သည်
Day of death3

The day (number) in which the person died

Numberလိုအပ်သည်
Year of birth4

The year in which the person was born

Numberလိုအပ်သည်
Month of birth5

The month (number) in which the person was born

Numberလိုအပ်သည်
Day of birth6

The day (number) in which the person was born

Numberလိုအပ်သည်
Day firstdf

When set to 'y' or 'yes', the date of death is output in a DMY format

Stringထည့်လိုပါက
Month firstmf

When set to 'y' or 'yes', stresses that the default MDY date format is intended for the date of death

Stringထည့်လိုပါက