ਫਰਮਾ:MONTHABBREV/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਅਜ਼ਾਦ ਗਿਆਨਕੋਸ਼ ਤੋਂ
Jump to navigation Jump to search

This template returns the English abbreviation (between "Jan" and "Dec") of the month whose number is in parameter. Alternatively, the English name or abbreviation (in any letter case) can be provided.

Syntax:
{{MONTHABBREV|month}}
  • The month value is interpreted modulo 12 (extra leading zeroes and decimals are ignored).
Examples for all standard English month names:
{{MONTHABBREV|january}} returns ਜਨਵ
{{MONTHABBREV|february}} returns ਫਰਵ
{{MONTHABBREV|march}} returns ਮਾਰ
{{MONTHABBREV|april}} returns ਅਪ
{{MONTHABBREV|may}} returns ਮਈ
{{MONTHABBREV|june}} returns ਜੂਨ
{{MONTHABBREV|july}} returns ਜੁਲ
{{MONTHABBREV|august}} returns ਅਗਸ
{{MONTHABBREV|september}} returns ਸਤੰਬ
{{MONTHABBREV|october}} returns ਅਕਤੂ
{{MONTHABBREV|november}} returns ਨਵੰਬ
{{MONTHABBREV|december}} returns ਦਸੰਬ
Examples for all abbreviated English month names:
{{MONTHABBREV|JAN}} returns ਜਨਵ
{{MONTHABBREV|FEB}} returns ਫਰਵ
{{MONTHABBREV|MAR}} returns ਮਾਰ
{{MONTHABBREV|APR}} returns ਅਪ
{{MONTHABBREV|MAY}} returns ਮਈ
{{MONTHABBREV|JUN}} returns ਜੂਨ
{{MONTHABBREV|JUL}} returns ਜੁਲ
{{MONTHABBREV|AUG}} returns ਅਗਸ
{{MONTHABBREV|SEP}} returns ਸਤੰਬ
{{MONTHABBREV|OCT}} returns ਅਕਤੂ
{{MONTHABBREV|NOV}} returns ਨਵੰਬ
{{MONTHABBREV|DEC}} returns ਦਸੰਬ
Examples for all standard month numbers:
{{MONTHABBREV|1}} returns ਜਨਵ
{{MONTHABBREV|2}} returns ਫਰਵ
{{MONTHABBREV|3}} returns ਮਾਰ
{{MONTHABBREV|4}} returns ਅਪ
{{MONTHABBREV|5}} returns ਮਈ
{{MONTHABBREV|6}} returns ਜੂਨ
{{MONTHABBREV|7}} returns ਜੁਲ
{{MONTHABBREV|8}} returns ਅਗਸ
{{MONTHABBREV|9}} returns ਸਤੰਬ
{{MONTHABBREV|10}} returns ਅਕਤੂ
{{MONTHABBREV|11}} returns ਨਵੰਬ
{{MONTHABBREV|12}} returns ਦਸੰਬ
Examples for month numbers with extra leading zero:
{{MONTHABBREV|01}} returns ਜਨਵ
{{MONTHABBREV|02}} returns ਫਰਵ
{{MONTHABBREV|03}} returns ਮਾਰ
{{MONTHABBREV|04}} returns ਅਪ
{{MONTHABBREV|05}} returns ਮਈ
{{MONTHABBREV|06}} returns ਜੂਨ
{{MONTHABBREV|07}} returns ਜੁਲ
{{MONTHABBREV|08}} returns ਅਗਸ
{{MONTHABBREV|09}} returns ਸਤੰਬ
Examples for month number underflows and overflows, from computed values:
{{MONTHABBREV|-1200}} returns ਦਸੰਬ
{{MONTHABBREV|-1201}} returns ਨਵੰਬ
{{MONTHABBREV|-1212}} returns ਦਸੰਬ
{{MONTHABBREV|-12}} returns ਦਸੰਬ
{{MONTHABBREV|-11}} returns ਜਨਵ
{{MONTHABBREV|-10}} returns ਫਰਵ
{{MONTHABBREV|-9}} returns ਮਾਰ
{{MONTHABBREV|-3}} returns ਅਕਤੂ
{{MONTHABBREV|-2}} returns ਅਕਤੂ
{{MONTHABBREV|-1}} returns ਨਵੰਬ
{{MONTHABBREV|0}} returns ਦਸੰਬ
{{MONTHABBREV|13}} returns ਜਨਵ
{{MONTHABBREV|14}} returns ਫਰਵ
{{MONTHABBREV|15}} returns ਮਾਰ
{{MONTHABBREV|16}} returns ਅਪ
{{MONTHABBREV|23}} returns ਨਵੰਬ
{{MONTHABBREV|24}} returns ਦਸੰਬ
{{MONTHABBREV|25}} returns ਜਨਵ
{{MONTHABBREV|1200}} returns ਦਸੰਬ
{{MONTHABBREV|1201}} returns ਜਨਵ
{{MONTHABBREV|1212}} returns ਦਸੰਬ

See also[ਸੋਧੋ]

[edit]

  • {{Currentdate}} – Time, day of week, and date in MDY format and time zone
  • {{Date}} – Date in chosen format
  • {{DATE}} – Month and year, prefixed by "date=" (for use with templates through substitution)
  • {{Now}} – Same as {{Currentdate}} but in a sentence
  • {{Plain now}} – Date in DMY format, and time
  • {{Right now}} – Blue banner with time and current number of Wikipedia articles
  • {{Right now (User message)}} – Orange banner with time and current number of Wikipedia articles
  • {{TODAY}} – Date in DMY