Template:MONTHNAME: Difference between revisions
Jump to navigation
Jump to search
1099047208 (talk | contribs) (New page: <includeonly>{{#if:{{{1|}}}|{{#switch:{{MONTHNUMBER|{{{1}}}}}|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 req...) |
m (doc) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}}|{{#switch:{{MONTHNUMBER|{{{1}}}}}|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> | <includeonly>{{#if:{{{1|}}}|{{#switch:{{MONTHNUMBER|{{{1}}}}}|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> | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! -->Translates one unnamed parameter from the number 1-12 for month, and outputs the name of that month. E.g., MONTHNUMBER|1 will output "January". | ||
</noinclude> | </noinclude> |
Revision as of 12:15, 20 December 2009
Translates one unnamed parameter from the number 1-12 for month, and outputs the name of that month. E.g., MONTHNUMBER|1 will output "January".