The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "Template:MONTHNAME"
m (Attempting to be consistent.) |
|||
Line 1: | Line 1: | ||
+ | <includeonly>{{#ifeq: {{{abbr|}}} | false |
||
− | <includeonly>{{#if:{{{1|}}}|{{#switch:{{MONTHNUMBER|{{{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|Incorrect required parameter 1=''month''!}}|Missing required parameter 1=''month''!}}</includeonly> |
||
+ | | {{#switch: {{#expr: {{{1}}} mod 12 }} |
||
+ | | 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}}} mod 12 }} |
||
+ | | 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> |