Difference between revisions of "Template:MONTHNAME"

From The iPhone Wiki
Jump to: navigation, search
m (Created page with "<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|Inc...")
 
m (eh)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  +
<includeonly>{{#ifeq: {{{abbr|}}} | false
<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>
 
  +
| {{#switch: {{#expr: ({{{1}}} - 1) mod 12 + 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
  +
}}
  +
| {{#switch: {{#expr: ({{{1}}} - 1) mod 12 + 1 }}
  +
| 1 = Jan
  +
| 2 = Feb
  +
| 3 = Mar
  +
| 4 = Apr
  +
| 5 = May
  +
| 6 = Jun
  +
| 7 = Jul
  +
| 8 = Aug
  +
| 9 = Sep
  +
| 10 = Oct
  +
| 11 = Nov
  +
| 12 = Dec
  +
}}
  +
}}</includeonly>

Latest revision as of 03:43, 13 March 2015