တမ်းပလိတ်:Time ago

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

၀ စက္ကန့် အကြာက

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

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

  • {{Time ago|timestamp}}

The timestamp can be almost any solid, readable format but to avoid ambiguity mistakes, one of the styles below is preferred.

  • magnitude parameter can be set to explicitly use certain unit. Allowed values are: seconds, minutes, hours, days, weeks, months and years.
  • min_magnitude parameter can be set to use the specified unit or bigger units. Allowed values are: seconds, minutes, hours, days, months and years.
  • ago parameter 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 MOS:NUMERAL.

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)

အခြားကြည့်ရန်[ပြင်ဆင်ရန်]