Template:Cal-wk/doc

From Angelina Jordan Wiki
Revision as of 07:54, 31 December 2020 by Dcljr (talk | contribs) (doc created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a subpage documenting Template:Cal-wk. To change the template, edit that page; to change the template's documentation (seen below), edit this one.

Documentation

This template produces a table row representing a single calendar week (from Sunday to Saturday). It is not intended to be called directly in articles: the full calendar templates {{calendar-month}} and {{calendar-year}} should be used instead.

Usage

  • {{cal-wk|||||||}}

The template accepts up to 7 unnamed/positional parameters for the 7 days of the week. Not all 7 need to be specified, as seen in the examples below.

Examples

  • {{cal-wk||||1|2|3|4}}

    1234
  • {{cal-wk|12|13|14|15|16|17|18}}

    12131415161718
  • {{cal-wk|26|27|28||||}}

    262728

Note that the unequal cell widths seen in these examples are prevented in actual calendar tables by the days of the week labels in the table headers, not shown here.

See also