Difference between revisions of "Template:Calendar"
From Nookipedia, the Animal Crossing wiki
|
|
Line 447: |
Line 447: |
| | {{#ifeq: {{#time:l|{{{month|{{LOCALMONTHNAME}}}}} 7 {{{year|{{LOCALYEAR}}}}}}} | Sunday | | | | {{#ifeq: {{#time:l|{{{month|{{LOCALMONTHNAME}}}}} 7 {{{year|{{LOCALYEAR}}}}}}} | Sunday | |
| {{(!}} width{{=}}100% cellspacing=0 style{{=}}"background-color:transparent;" | | {{(!}} width{{=}}100% cellspacing=0 style{{=}}"background-color:transparent;" |
− | {{!}} style{{=}}"height: 78px; line-height: 15px; padding: 0 0 0 3px; vertical-align:top;" {{!}} {{{07}}} | + | {{!}} style{{=}}"height: 78px; line-height: 15px; padding: 0 0 0 3px; vertical-align:top;" {{!}} {{{07|}}} |
| {{!-}} | | {{!-}} |
| {{!}} style{{=}}"padding:2px 5px 0 0; line-height: 12px; vertical-align: bottom; text-align: right;" {{!}} 07 | | {{!}} style{{=}}"padding:2px 5px 0 0; line-height: 12px; vertical-align: bottom; text-align: right;" {{!}} 07 |
Revision as of 11:07, August 19, 2015
April 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).