Hoppa till innehållet

Mall:Kalender

Från Wikipedia

[visa] [redigera] [rensa sidcachen]

Dokumentation


Denna mall visar en årlig eller månadvis kalender från året 1970 till 2037.

Parametrar

[redigera wikitext]

Det här är TemplateData-dokumentation för den här mallen. Det används av VisualEditor och andra verktyg.

TemplateData för Kalender

Visar en årlig eller månadsvis kallender

Mallparametrar[Redigera TemplateData]

ParameterBeskrivningTypStatus
Åryear

kalenderns ordinaltal

Standard
current
Nummerföreslagen
Monthmonth

whether to display a single month instead of a whole year, and which one

Standard
empty
Exempel
current, next, last, 1, January
Strängföreslagen
Show yearshow_year

whether to display the year number, and where

Standard
on
Exempel
with month, off
Booleskvalfri
Title texttitle

text in the top bar

Innehållvalfri
End noteEndNote

text in the bottom bar

Innehållvalfri
Week formatformat

The string to be trimmed and counted

Standard
Sun1st
Exempel
iso, Mon1st
Strängvalfri
Months per rowcol

Display this many months per row (1, 3, 4 or 6 rows)

Standard
4
Exempel
2, 3, 12
Nummervalfri
Months per columnrow

Display this many months per column (3 or 4 cols). If set, overrides ‘col’ parameter.

Standard
empty
Exempel
3, 4
Nummervalfri
Float sidefloat

Horizontally align the calendar

Standard
none
Exempel
right, left
Strängvalfri
Serial navigationprevnext

Add links to the previous and next months

Exempel
on
Booleskvalfri
Background colorcolour

Default for Title and Week background

Exempel
#2E8B57
Strängvalfri
Title backgroundtitle_colour

change the background colour of the title bar with name of the month, and the bottom bar

Exempel
#2E8B57
Strängvalfri
Week backgroundweek_colour

change the colour of the bar listing the days of the week

Exempel
#2E8B57
Strängvalfri
ISO week numbers backgroundwknum_colour

change the colour of the bar listing the ISO week numbers

Exempel
#2E8B57
Strängvalfri
Fixed starting week workaroundwk5253

start the year with week 52/53, when the first day is a Saturday.

Booleskvalfri
Month name prefixtxt_pref_m

Text to add before month names

Radvalfri
Month name suffixtxt_suff_m

Text to add after month names

Radvalfri
Linklk

whether to automatically link days (d), months (m) and years (y)

Standard
off
Exempel
on = dmy, dm, my, dy, d, m, y
Strängvalfri
Link prefixlk_pref

Text to add before all links

Radvalfri
Link suffixlk_suff

Text to add after all links

Radvalfri
Day link prefixlk_pref_d

Text to add before links to days

Radvalfri
Day link suffixlk_suff_d

Text to add after links to days

Radvalfri
Month link prefixlk_pref_m

Text to add before links to months

Radvalfri
Month link suffixlk_suff_m

Text to add after links to months

Radvalfri
Next link prefixlk_pref_mnext

Text to add before the link to the next month (or year)

Radvalfri
Next link suffixlk_suff_mnext

Text to add after the link to the next month (or year)

Radvalfri
Previous link prefixlk_pref_mprev

Text to add before the link to the previous month (or year)

Radvalfri
Previous link suffixlk_suff_mprev

Text to add after the link to the next month (or year)

Radvalfri