Template:Static-calendar-month/doc

From Angelina Jordan Wiki
Revision as of 14:00, 11 November 2025 by Most2dot0 (talk | contribs) (Most2dot0 moved page Template:Calendar-month/doc to Template:Static-calendar-month/doc: replace with Scributo based version)
This is a subpage documenting Template:Static-calendar-month. To change the template, edit that page; to change the template's documentation (seen below), edit this one.

Documentation

This template displays a calendar for a specified month. By default, the calendar is floated to the right side of the page, but it can be floated to the left or not floated at all if desired, as explained below.

Usage

  • {{calendar-month}}
  • {{calendar-month|YYYY|MM}}
  • {{calendar-month|YYYY|MM|float=}}
  • {{calendar-month|YYYY|MM|float=none}}

YYYY must be a year between 2006 and 2026. No other years are supported yet (except for certain isolated months for significant dates in our Timeline before Angelina was born). MM must be a 2-digit number between 01 and 12.

float controls the floating of the calendar. As mentioned before, the calendar is floated to the right by default. float=none (or nofloat=y) can be used to prevent floating of the calendar, in which case the calendar shows up on a line by itself, as seen in the examples below. float=left can be used to float the calendar to the left, with text "flowing" around it on its right side; however, note that, as seen in one of the examples below, text before the template call but on the same line might end up appearing after it.

Examples

January 2026
Su Mo Tu We Th Fr Sa
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
  • {{calendar-month}}

When called with no input, a calendar for the current month is displayed.


February 2020
Su Mo Tu We Th Fr Sa
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
  • {{calendar-month|2020|02}}


February 2020
Su Mo Tu We Th Fr Sa
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
  • {{calendar-month|2020|2}}

As seen in this example, 1-digit month numbers don't work.

Error: module requires numeric |year= and |month=.

  • {{calendar-month|2020-02}}

And whole YYYY-MM year-month values don't work either.

  • text before{{calendar-month|2020|02|float=none}}text after

    text before
    February 2020
    Su Mo Tu We Th Fr Sa
    1
    2 3 4 5 6 7 8
    9 10 11 12 13 14 15
    16 17 18 19 20 21 22
    23 24 25 26 27 28 29
    text after
  • text before{{calendar-month|2020|02|float=left}}text after

text before

February 2020
Su Mo Tu We Th Fr Sa
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
text after