Template:Calendar/doc
From Nookipedia, the Animal Crossing wiki
< Template:Calendar
Revision as of 08:55, April 30, 2019 by Decomposer (talk | contribs) (Create documentation for Calendar.)
Syntax
{{Calendar | month = (name of calendar month to be generated (e.g., January) - optional) | year = (corresponding year calendar month is to be generated for (e.g., 2020) - optional) | link = (true or false, default is true - 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
{{LOCALMONTH}}
. - If no year is entered, the template will generate a calendar for the current year
{{LOCALYEAR}}
. - To remove the previous/next calendar links, set
link
as false - 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).
- Examples of usage are available in Category:Calendar templates.