Template:Medical cases chart/Month toggle button/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>Colonies Chris at 22:34, 23 November 2025. The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Produced toggle buttons for {{Medical cases chart}}.

{{Medical cases chart/Month toggle button|apr}} → This subtemplate is deprecated. {{Medical cases chart}} already creates all toggles internally.

Example of content from April

If |1= is set to the first three lowercase characters of a month, produces an unselected toggle button labeled with the abbreviation for that month that will collapse rows for that month (e.g. rows with the class mw-customtoggle-apr or mw-customtoggle-apr-l15 for April).

{{Medical cases chart/Month toggle button|l15}} → This subtemplate is deprecated. {{Medical cases chart}} already creates all toggles internally.

Example of content from the last 15 days

If |1= is set to "l15", produces a selected collapse toggle button labeled "Last 15 days" that will collapse rows for the current and previous month that are tagged with l15 (e.g. rows with the class mw-customtoggle-l15, mw-customtoggle-mar-l15, or mw-customtoggle-apr-l15 in April).