Template:Birth year and age/doc

ဝီကီပီးဒီးယား မှ
Jump to navigation Jump to search

အသုံးပြုပုံ[ပြင်ဆင်ရန်]

{{Birth year and age}} နှင့် {{Death year and age}} တမ်းပလိတ်များသည် လူတစ်ဦး၏ မွေးဖွားခုနှစ် သို့မဟုတ် ကွယ်လွန်ခုနှစ်အပေါ် မူတည်၍ ခန့်မှန်းအသက်ကို တွက်ချက်ပေးသော တမ်းပလိတ်ဖြစ်သည်။ ပုဂ္ဂိုလ်တစ်ဦး၏ မွေးဖွားနှစ်/သေဆုံး နှစ် ကိုသာသိ၍ လ နှင့် ရက် ကို မသိလျှင်သော်လည်းကောင်း၊ ၎င်းပုဂ္ဂိုလ်၏ မွေးဖွား/သေဆုံး ရက်စွဲအတိအကျကို ပုဂ္ဂလအခွင့်အရေး (privacy) အကြောင်းကြောင်းအား ငဲ့ညှာ၍ မဖော်ပြလိုလျှင်သော်လည်းကောင်း ဤတမ်းပလိတ်ကို အသုံးပြုသည်။

မှတ်ချက်။ ။ဤတမ်းပလိတ်ကို အင်္ဂလိပ်ဂဏန်းနှင့် မြန်မာဂဏန်း နှစ်မျိုးစလုံးဖြင့် ထည့်သွင်းတွက်ချက်နိုင်စေရန် စီမံထားသည်။

ဤစာမျက်နှာရှိ နမူနာတွက်ချက်မှုများမှာ လက်ရှိ အချိန်ဖြင့် တွက်ချက်ထားခြင်း ဖြစ်သည်
၂၇ ဇွန် ၂၀၁၉

လူတစ်ဦး၏ အသက်ကို အောက်ပါအတိုင်း ခန့်မှန်းတွက်ချက်သည်။

{{Birth year and age}}[ပြင်ဆင်ရန်]

Let us assume:

  1. that the person in question was born some time in 1964; and
  2. that the present date is ၂၇ ဇွန် ၂၀၁၉.
  • If the person was born after ၂၇ ဇွန် 1964 then she will be 54 years old on ၂၇ ဇွန် ၂၀၁၉ as she has not had her 55th birthday yet. On the other hand, if she was born exactly on or before ၂၇ ဇွန် 1964, then she will be 55 years old.
Therefore, the template {{Birth year and age|1964}}
displays her birth year and age as: ၁၉၆၄ (အသက် ၅၄–၅၅)
  • Optionally, if we know the person's birth month but not the day, we can also have the template display the month.
Let us assume that the person was born in June 1964. Therefore:
  • If it is presently January ၂၀၁၉, then this year the person has not had her birthday yet. Therefore, the template {{Birth year and age|1964|6}} displays her birth year and age as: 1964 (age 54).
  • If it is presently June ၂၀၁၉, we do not know whether the person has had her birthday this year yet since her day of birth is unknown. Therefore, the template displays her birth year and age as: 1964 (age 54–55).
  • If it is presently December ၂၀၁၉, then this year the person has already had her birthday. Therefore, the template displays her birth year and age as: 1964 (age 55).

{{Death year and age}}[ပြင်ဆင်ရန်]

Let us assume:

  1. that the person in question was born some time in 1968; and
  2. that he died some time in 2018.
  • We can posit as two extremes: (1) that the person was born on 31 December 1968 and died on 1 January 2018, in which case he would have been 49 years old at the time of his death as he did not achieve his 50th birthday on 31 December 2018; and (2) that he was born on 1 January 1968 and died on 31 December 2018, in which case he would have been 50 years old at the time of his death as he had his 50th birthday on 1 January 2018.
Therefore, the template {{Death year and age|2018|1968}}
renders his death year and age as: ၂၀၁၈ (အသက် ၄၉–၅၀)
  • Optionally, if we know month of the person's death but not the day, we can also have the template display the month.
Using the above examples and assuming the month is ၀၆ (ဇွန်)
Therefore, the template {{Death year and age|2018|1968|၀၆}}
displays his death year and age as: မတ် ၂၀၁၈ (အသက် ၄၉–၅၀)

If you wish to set out the full dates of birth and/or death of a person and thus to calculate his or her age accurately, please use the templates {{Birth date and age}} and {{Death date and age}}.

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

{{Birth year and age|year of birth}}
{{Birth year and age|year of birth|optional month of birth}}
{{Death year and age|year of death|year of birth}}
{{Death year and age|year of death|year of birth|optional month of death}}

နမူနာများ[ပြင်ဆင်ရန်]

Template text Result
{{Birth year and age|1964}} ၁၉၆၄ (အသက် ၅၄–၅၅)
{{Birth year and age|1964|06}} ဇွန် ၁၉၆၄ (အသက် ၅၄–၅၅)
{{Death year and age|2018|1968}} ၂၀၁၈ (အသက် ၄၉–၅၀)
{{Death year and age|2018|1968|06}} ဇွန် ၂၀၁၈ (အသက် ၄၉–၅၀)