Template:Calendar: Difference between revisions
Jump to navigation
Jump to search
en>JustLeafy (Created page with "{| style="text-align: left; border-spacing: inherit;" width=500px class="maand-{{{maand|1}}}" ! colspan="4" style="background: green; color: #fff; font-size: 32px; padding: 32...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| style="text-align: left; border-spacing: inherit;" width=500px class="maand-{{{maand|1}}}" | {| style="text-align: left; border-spacing: inherit;" width=500px class="maand-{{{maand|1}}}" | ||
! colspan="4" style="background: | ! colspan="4" style="background: navy; color: #fff; font-size: 32px; padding: 32px;"|{{maandswitch| {{{maand|1}}} }} | ||
|- | |- | ||
|style="color: black; background-color: white; padding-top: 20px;" class="day-1"|<center>'''1'''</center><br /> | |style="color: black; background-color: white; padding-top: 20px;" class="day-1"|<center>'''1'''</center><br /> | ||
Line 43: | Line 43: | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
{{ | {{doc}} | ||
</noinclude> | </noinclude> | ||
[[Category:Pages with syntax highlighting errors]] |
Latest revision as of 21:40, 12 July 2024
January | |||
---|---|---|---|
- Description
- It displays a calendar in a flat style.
- Dependencies
- The maandswitch template needs to be created first in order to make the calendar function. Copy the entire template and paste it in Template:Maandswitch in your wiki.
- The following CSS:
/* Calendar (template from Noreplyz's Wiki) */
td.day-1:hover,
td.day-2:hover,
td.day-3:hover,
td.day-4:hover,
td.day-5:hover,
td.day-6:hover,
td.day-7:hover,
td.day-8:hover,
td.day-9:hover,
td.day-10:hover,
td.day-11:hover,
td.day-12:hover,
td.day-13:hover,
td.day-14:hover,
td.day-15:hover,
td.day-16:hover,
td.day-17:hover,
td.day-18:hover,
td.day-19:hover,
td.day-20:hover,
td.day-21:hover,
td.day-22:hover,
td.day-23:hover,
td.day-24:hover,
td.day-25:hover,
td.day-26:hover,
td.day-27:hover,
td.day-28:hover,
td.day-29:hover,
td.day-30:hover,
td.day-31:hover {
transition: .3s;
cursor: pointer;
background-color: #ebebeb !important;
}
.maand-2 .day-31 *,
.maand-2 .day-30 *,
.maand-2 .day-29 *,
.maand-4 .day-31 *,
.maand-6 .day-31 *,
.maand-9 .day-31 *,
.maand-11 .day-31 * {
visibility:hidden;
}
- Syntax
- N/A
- Sample output
{{Calendar|January}}
gives...
January | |||
---|---|---|---|