Fandom

Kosova Wiki

Stampa:MONTHNUMBER

22,418pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Template:Template documentation

This template returns the cyclic integer month number (between 1 and 12) of the month whose real number is in parameter. Alternatively, the month can be given with its english name (complete or abbreviated to 3 characters, with capitals or small letters).

Syntax:
{{MONTHNUMBER|month}}
  • The month value is interpreted modulo 12 (extra leading zeroes are ignored, negative numbers are accepted, all numbers are rounded to floor).
Examples for all standard English month names:
{{Stampa:MONTHNUMBER|january}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|february}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|march}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|april}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|may}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|june}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|july}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|august}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|september}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|october}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|november}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|december}} returns Template:Stampa:MONTHNUMBER
Examples for all abbreviated English month names:
{{Stampa:MONTHNUMBER|jan}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|feb}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|mar}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|apr}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|may}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|jun}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|jul}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|aug}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|sep}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|oct}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|nov}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|dec}} returns Template:Stampa:MONTHNUMBER
Examples for all standard month numbers:
{{Stampa:MONTHNUMBER|1}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|2}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|3}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|4}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|5}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|6}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|7}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|8}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|9}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|10}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|11}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|12}} returns Template:Stampa:MONTHNUMBER
Examples for month numbers with extra leading zero:
{{Stampa:MONTHNUMBER|01}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|02}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|03}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|04}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|05}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|06}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|07}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|08}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|09}} returns Template:Stampa:MONTHNUMBER
Examples for month number underflows and overflows, from computed values:
{{Stampa:MONTHNUMBER|-1200}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|-1201}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|-1212}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|-12}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|-11}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|-10}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|-9}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|-8}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|-7}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|-6}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|-5}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|-4}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|-3}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|-2}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|-1}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|-0.9999}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|-0.5}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|-0.0001}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|0}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|0.0001}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|0.5}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|0.9999}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|12.0001}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|12.5}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|12.9999}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|13}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|14}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|24}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|1200}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|1201}} returns Template:Stampa:MONTHNUMBER
{{Stampa:MONTHNUMBER|1212}} returns Template:Stampa:MONTHNUMBER
Example for invalid month name:
{{Stampa:MONTHNUMBER|xxx}} returns Template:Stampa:MONTHNUMBER
See also:
Template:MONTHNAME
Template:MONTHABBREV
Template:MONTHfr:Modèle:MONTHNUMBER

Also on Fandom

Random Wiki