Difference between revisions of "Template:Recurrence date/doc"

From Nookipedia, the Animal Crossing wiki
Line 6: Line 6:
 
This template is to be used with [[Template:Recurrence]] to generate dates for events that do not take place on a specific date, but instead occur at specific times of the year (e.g. second Sunday of October). The weekday and month can be specified, with the <code>week</code> parameter being the specific week of the month on which the event occurs (e.g. the second week). By default, all months are abbreviated, but <code>showfullmonth=yes</code> is used to display the full month's name (e.g. January instead of Jan).
 
This template is to be used with [[Template:Recurrence]] to generate dates for events that do not take place on a specific date, but instead occur at specific times of the year (e.g. second Sunday of October). The weekday and month can be specified, with the <code>week</code> parameter being the specific week of the month on which the event occurs (e.g. the second week). By default, all months are abbreviated, but <code>showfullmonth=yes</code> is used to display the full month's name (e.g. January instead of Jan).
  
By default dates are generated for the current year. <code>next=yes</code> can be used to generate dates for the next year. To remove the month entirely, use <code>showmonth=no</code>.
+
By default dates are generated for the current year. <code>next=yes</code> can be used to generate dates for the next year. To remove the month entirely, use <code>nomonth=yes</code>.
  
 
===Example===
 
===Example===

Revision as of 17:54, February 1, 2021

Usage

{{Recurrence date|day=|month=|week=}}

This template is to be used with Template:Recurrence to generate dates for events that do not take place on a specific date, but instead occur at specific times of the year (e.g. second Sunday of October). The weekday and month can be specified, with the week parameter being the specific week of the month on which the event occurs (e.g. the second week). By default, all months are abbreviated, but showfullmonth=yes is used to display the full month's name (e.g. January instead of Jan).

By default dates are generated for the current year. next=yes can be used to generate dates for the next year. To remove the month entirely, use nomonth=yes.

Example

{{Recurrence date|day=Sunday|month=October|week=Second}}

Oct 13