Difference between revisions of "Template:Calendar"
From Nookipedia, the Animal Crossing wiki
|
|
Line 1: |
Line 1: |
| {| style="border:3px solid #{{ColorPrimary}}; background-color:#{{ColorSecondary}}; {{roundy|10px}};" | | {| style="border:3px solid #{{ColorPrimary}}; background-color:#{{ColorSecondary}}; {{roundy|10px}};" |
− | ! colspan=7 style="border-bottom: 1px solid #{{ColorPrimary}};"| <big>{{{month|{{LOCALMONTHNAME}}}}} {{{year|{{LOCALYEAR}}}}}</big> | + | ! colspan=7 style="height:50px; border-bottom: 1px solid #{{ColorPrimary}};"| <big><big>{{{month|{{LOCALMONTHNAME}}}}} {{{year|{{LOCALYEAR}}}}}</big></big> |
| |- | | |- |
| ! width=100px | Sunday | | ! width=100px | Sunday |
Revision as of 02:05, December 26, 2016
May 2024
|
Sunday
|
Monday
|
Tuesday
|
Wednesday
|
Thursday
|
Friday
|
Saturday
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Syntax
{{Calendar
| month = (calendar month to be generated - optional)
| year = (corresponding year calendar month is to be generated for - optional)
| p23 ... p31 = (value to appear in date of previous month - optional)
| 01 ... 31 = (value to appear in this month's date - optional)
| n01 ... n06 = (value to appear in date of following month - optional)
}}
Notes
- If no month is entered, the template will generate a calendar for the current month.
- If no year is entered, the template will generate a calendar for the current year.
- Number parameters prefixed with a "p" (previous) are used to enter content into a date cell from a month that has passed (darkened date).
- Number parameters are used to enter content into a date cell for the current month (e.g. entering a value for "01", like "Bob's birthday", will cause that value to appear in the cell associated with the first of the month).
- Number parameters prefixed with a "n" (next) are used to enter content into a date cell from a month that is forthcoming (darkened date).