Difference between revisions of "Template:MonthName"
From Nookipedia, the Animal Crossing wiki
m (Last time, promise) |
m (Protected "Template:MonthName": Important template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{2|}}} | {{#if:{{{2|}}} | ||
− | |{{#switch:{{{1|{{ | + | |{{#switch:{{{1|{{LOCALMONTH}}}}} |
|1|01= Jan | |1|01= Jan | ||
|2|02= Feb | |2|02= Feb | ||
Line 14: | Line 14: | ||
|12= Dec | |12= Dec | ||
}} | }} | ||
− | |{{#switch:{{{1|{{ | + | |{{#switch:{{{1|{{LOCALMONTH}}}}} |
|1|01= January | |1|01= January | ||
|2|02= February | |2|02= February |
Latest revision as of 15:20, January 28, 2016
March
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}} |
March |
{{MonthName||Yes}} |