• Home
  • Random
  • Recent changes
  • Special pages
  • Community portal
  • Settings
  • About The Wiki Camp 2
  • Disclaimers
The Wiki Camp 2
  • Create account
  • Log in

Template:Calendar2

  • Template
  • Discussion
  • Language
  • Watch
  • View history
  • View source
    • What links here
    • Permanent link
    • Page information


Template documentation[view] [edit] [history] [purge]

Programmatically write a Calendar month entry.

Contents

  • 1 Usage
    • 1.1 NewMonth
    • 1.2 Example
  • 2 TemplateData

Usage

{{Calendar2|month=February|year=2023 |1=a |2=b |3=c |22=[[22]] |24 = g |32 = secret bonus !}}

{{Calendar2|month=NewMonth|length=10|offset=162|name=[[Awawa]]|2=a|...|9=i|12=k}}

Month is a required value, with the typical options:

  • January
  • February
  • March
  • April
  • May
  • June
  • July
  • August
  • September
  • October
  • November
  • December

for typical months, or NewMonth for something different. The year defaults to the current year, or can be provided manually.

For any month, the module takes both unlabeled and numbered inputs. Just adding another input puts it in the next available spot, or putting a number (1=a) puts that key at that spot.

Unlabeled inputs start from 1, after the labeled inputs. Source editor will warn about this.


Bonus: Days can be added past the length of the month, if there is sufficient space remaining in the row.

NewMonth

To use, input a length, offset, and name as values.

Length and offset are both in days, but the module gives some hints on what months are around where in the year, in the individual month section.

Example

SUNDAY MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY
Awawa






1

...

2

a

3


4


5


6


7


8


9

i

10


k

TemplateData

Simplified boilerplate for writing a [[Calendar]] entry. Assign dates manually with (number) = (value), or defining every value, separated by pipes.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Calendar monthmonth

Select a default calendar month, or write a new one (see documentation)

Example
month=April
Auto value
January
Stringrequired
Calendar yearyear

Select a calendar year to display. Defaults to CURRENTYEAR

Example
year=2026
Dateoptional
The above documentation is transcluded from Template:Calendar2/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://camp2.rectangle.zone/index.php?title=Template:Calendar2&oldid=154103"
Categories:
  • Article message templates with missing parameters
  • Templates
Last edited on 31 May 2026, at 18:51

Languages

    This page is not available in other languages.

    The Wiki Camp 2
    • This page was last edited on 31 May 2026, at 18:51.
    • This page has been accessed 11 times.
    • Privacy policy
    • About The Wiki Camp 2
    • Disclaimers
    • Desktop