တမ်းပလိတ်:Time ago
၀ စက္ကန့် အကြာက
အသုံးပြုပုံ
[ပြင်ဆင်ရန်]{{Time ago|timestamp}}
The timestamp can be almost any solid, readable format but to avoid ambiguity mistakes, one of the styles below is preferred.
magnitudeparameter can be set to explicitly use certain unit. Allowed values are:seconds,minutes,hours,days,weeks,monthsandyears.min_magnitudeparameter can be set to use the specified unit or bigger units. Allowed values are:seconds,minutes,hours,days,monthsandyears.agoparameter can be set to override the default usage of the text "ago".
Spelling out numbers
[ပြင်ဆင်ရန်]Numbers from 1 to 100 can be spelled out in their equivalent English word by using the spellout parameter. If spellout is set to "yes", "y", "true" or "1", all numbers from 1 to 100 will be spelled out. If spellout is set to "auto", only numbers from 1 to 9 will be spelled out, as per the recommendations at .
It is also possible to set a custom maximum value for spelling out by using the spelloutmax parameter. For example, setting |spellout=yes and |spelloutmax=24 will result in all numbers less than or equal to 24 being spelled out, and all numbers greater than 24 appearing as numerals.
Purge link
[ပြင်ဆင်ရန်]Add the parameter |purge=yes to add a purge link.
နမူနာများ
[ပြင်ဆင်ရန်]- {{Time ago| -83 minutes}} → ၈၃ မိနစ် အကြာက
- {{Time ago| +34 minutes}} → ၅ နာရီ ' အချိန်
- {{Time ago|{{REVISIONTIMESTAMP}}}} → ၁၀ နှစ် အကြာက
- {{Time ago| Jan 21, 2001 3:45 PM}} → ၂၅ နှစ် အကြာက
- {{Time ago| Nov 6 2008}} → ၁၇ နှစ် အကြာက
- {{Time ago| Nov 6 2008|magnitude=weeks}} → ၉၀၅ ရက်သတ္တပတ် အကြာက
- {{Time ago| Nov 6 2008|min_magnitude=days}} → ၁၇ နှစ် အကြာက
- {{Time ago| Nov 6 2008|min_magnitude=years}} → ၁၇ နှစ် အကြာက
- {{Time ago| Nov 6 2008|ago=in the past}} → ၁၇ နှစ် in the past
- {{Time ago| Nov 6 2008|purge=yes}} → ၁၇ နှစ် အကြာက (purge)
အခြားကြည့်ရန်
[ပြင်ဆင်ရန်]- {{Last edited by}}
- {{Years or months ago}}
- {{Age}}
- {{Start date and age}}
- {{Birth date and age}}
| အထက်ပါ အသုံးပြုပုံ လက်စွဲ (documentation)သည် တမ်းပလိတ်:Time ago/doc မှ ကူးပြောင်းထည့်သွင်း (transclude လုပ်)ထားခြင်း ဖြစ်သည်။ (တည်းဖြတ် | ရာဇဝင်) တည်းဖြတ်သူများအနေဖြင့် ဤတမ်းပလိတ်၏ sandbox (တည်းဖြတ် | ကွဲပြားမှု) နှင့် testcases (တည်းဖြတ်) စာမျက်နှာများကို စမ်းသပ်နိုင်ပါသည်။ စာမျက်နှာခွဲ /doc တွင် ကဏ္ဍများထည့်သွင်းပါ။ ဤ တမ်းပလိတ် ၏ စာမျက်နှာခွဲများ။. |