Predloga:Medical cases chart/Month toggle button
Zadnjih 15 dni
Zadnjih 15 dni
Produces toggle buttons for {{Medical cases chart}}.
Usage
[uredi kodo]{{Medical cases chart/Month toggle button|avg.}}
→ avg
avg
Example of content from avgust
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-avg.
or mw-customtoggle-avg.-l15
for avgust).
{{Medical cases chart/Month toggle button|l15}}
→ Zadnjih 15 dni
Zadnjih 15 dni
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-jul.-l15
, or mw-customtoggle-avg.-l15
in avgust).