Template:MONTHNAME: Difference between revisions
m
no edit summary
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}}|{{#switch: | <includeonly>{{#if:{{{1|}}}|{{#switch: | ||
{{#ifexpr:|{{{1|}}}<1| | {{#ifexpr:|{{{1|}}}<1| | ||
{{#expr:(13-((-{{{1|}}}-1)mod 12))mod 12 | {{#expr:(13-((-{{{1|}}}-1)mod 12))mod 12-0.5 round 0}}| | ||
{{#expr:(({{{1|}}}-1)mod 12+12)mod 12 | {{#expr:(({{{1|}}}-1)mod 12+12)mod 12-0.5 round 0}}}} | ||
|1=january|2=february|3=march|4=april|5=may|6=june|7=july|8=august|9=september|10=october|11=november|12=december|Incorrect required parameter 1=''month''!}}|Missing required parameter 1=''month''!}}</includeonly><noinclude>{{Template documentation}} | |1=january|2=february|3=march|4=april|5=may|6=june|7=july|8=august|9=september|10=october|11=november|12=december|Incorrect required parameter 1=''month''!}}|Missing required parameter 1=''month''!}}</includeonly><noinclude>{{Template documentation}} | ||
This template returns the name of the month whose number is in parameter. | This template returns the name of the month whose number is in parameter. |