Template:MONTHNAME: Difference between revisions

From Cvillepedia
Jump to navigation Jump to search
m (doc)
m (typo)
 
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! -->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".
<!-- 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., MONTHNAME|1 will output "January".
</noinclude>
</noinclude>

Latest revision as of 12:17, 20 December 2009

Translates one unnamed parameter from the number 1-12 for month, and outputs the name of that month. E.g., MONTHNAME|1 will output "January".