Difference between revisions of "Template:MonthName"
From Nookipedia, the Animal Crossing wiki
(Created page with "{{#if:{{{2}}} |{{#switch:{{{1|{{CURRENTMONTH}}}}} |1|01= January |2|02= February |3|03= March |4|04= April |5|05= May |6|06= June |7|07= July |8|08= August |9|09= September |10= ...") |
m |
||
Line 1: | Line 1: | ||
− | {{#if:{{{2}}} | + | {{#if:{{{2|}}} |
+ | |{{#switch:{{{1|{{CURRENTMONTH}}}}} | ||
+ | |1|01= Jan | ||
+ | |2|02= Feb | ||
+ | |3|03= Mar | ||
+ | |4|04= Apr | ||
+ | |5|05= May | ||
+ | |6|06= Jun | ||
+ | |7|07= Jul | ||
+ | |8|08= Aug | ||
+ | |9|09= Sep | ||
+ | |10= Oct | ||
+ | |11= Nov | ||
+ | |12= Dec | ||
+ | }} | ||
|{{#switch:{{{1|{{CURRENTMONTH}}}}} | |{{#switch:{{{1|{{CURRENTMONTH}}}}} | ||
|1|01= January | |1|01= January | ||
Line 13: | Line 27: | ||
|11= November | |11= November | ||
|12= December | |12= December | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
}} | }} |
Revision as of 16:40, July 6, 2011
April
Usage
This template is used to convert a number into the appropriate month name. To use this template, type:
{{MonthName| Month Number | Abbreviated?}}
- If nothing is entered it "Month Number", the current month is used
- If nothing is entered in "Abbreviated?", the full name of the month is used
Examples
{{MonthName|1}} |
January |
{{MonthName}} |
April |
{{MonthName||Yes}} |