• ପ୍ରଧାନ ପୃଷ୍ଠା
  • ଯାହିତାହି
  • ପାଖାପାଖି
  • ଲଗ-ଇନ
  • ସଜାଣି
  • ଦାନ
  • ଉଇକିପିଡ଼ିଆ ବାବଦରେ
  • ଆମେ ଦାୟୀ ନୋହୁଁ
ଉଇକିପିଡ଼ିଆ

ଛାଞ୍ଚ:Years or months ago

  • ଭାଷା
  • ଦେଖିବେ
  • ସମ୍ପାଦନ କରନ୍ତୁ
Template documentation[view] [edit] [history] [purge]

Template:Years or months ago displays the number of years (or months if less than 1 year) between a specified year/month date and the current year/month. It will also work correctly when only the year is given. Optionally, a second year/month date can be specified to be used instead of the current year/month.

This was designed as a supporting template for Template:Start date and age, to be used when the specified date does not include the day of the month. The formatting of the output was designed to be similar to Template:Time ago.

ବିଷୟସୂଚୀ

  • ୧ Usage
  • ୨ Examples
    • ୨.୧ Year and month
    • ୨.୨ Year only (no month)
  • ୩ See also

Usageସମ୍ପାଦନ କରନ୍ତୁ

For years or months before or after current date:

  • {{Months ago|year|month}}
  • {{Months ago|year}}

For years or months between two dates:

  • {{Months ago|year1|month1|year2|month2}}

Examplesସମ୍ପାଦନ କରନ୍ତୁ

The following examples use ଫେବୃଆରୀ ୨୦୨୩ as the current month and year. If that is not correct, click the Purge link at the top of this documentation (or here) to update the page.

Year and monthସମ୍ପାଦନ କରନ୍ତୁ

Template Output
{{Years or months ago|2021|2}} 2 ବର୍ଷ ଆଗରୁ
{{Years or months ago|2022|2}} 1 ବର୍ଷ ଆଗରୁ
{{Years or months ago|2021|12}} 1 ବର୍ଷ ଆଗରୁ
{{Years or months ago|2023|1}} 1 ମାସ ଆଗରୁ
{{Years or months ago|2023

|2}}

0 ମାସ ଆଗରୁ
{{Years or months ago|2023|3}} 1 ମାସର ସମୟ
{{Years or months ago|2023|4}} 2 ମାସର ସମୟ
{{Years or months ago|2024|2}} 1 ବର୍ଷର ସମୟ
{{Years or months ago|2025|2}} 2 ବର୍ଷର ସମୟ

Year only (no month)ସମ୍ପାଦନ କରନ୍ତୁ

Template Output
{{Years or months ago|2021}} 2 ବର୍ଷ ଆଗରୁ
{{Years or months ago|2022}} 1 ବର୍ଷ ଆଗରୁ
{{Years or months ago|2023}} 0 ବର୍ଷ ଆଗରୁ
{{Years or months ago|2024}} 1 ବର୍ଷର ସମୟ
{{Years or months ago|2025}} 2 ବର୍ଷର ସମୟ

See alsoସମ୍ପାଦନ କରନ୍ତୁ

  • Template:Time ago – displays elapsed time (with same singular or plural text as this template)
  • Template:Age – displays elapsed time in years (number only, future dates generate negative number)
The above documentation is transcluded from ଛାଞ୍ଚ:Years or months ago/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
"https://or.wikipedia.org/w/index.php?title=ଛାଞ୍ଚ:Years_or_months_ago&oldid=224608"ରୁ ଅଣାଯାଇଅଛି
Last edited on ୯ ଜାନୁଆରୀ ୨୦୧୬, at ୦୦:୨୭
ଉଇକିପିଡ଼ିଆ
  • ଏ ପୃଷ୍ଠାଟି ୯ ଜାନୁଆରୀ ୨୦୧୬ ଦିନ ୦୦:୨୭ ବେଳେ ବଦଳାଯାଇଥିଲା ।
  • ଦର୍ଶାଯାଇନଥିଲେ ସମସ୍ତ ବିଷୟବସ୍ତୁ CC BY-SA 3.0 ରେ ଉପଲବ୍ଧ ।
  • ଗୁମର ନୀତି
  • ଉଇକିପିଡ଼ିଆ ବାବଦରେ
  • ଆମେ ଦାୟୀ ନୋହୁଁ
  • ବ୍ୟବହାର ନିୟମାବଳୀ
  • ଡେସ୍କଟପ
  • ଡେଭେଲପରମାନେ
  • ପରିସଂଖ୍ୟାନ
  • କୁକି ବିବରଣୀ