Template:Calendar: Difference between revisions
(remove chequered board look and have stripes background) |
m (changed "other dates" link) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!--Attribution: Star Citizen Wiki--> |
|||
<div style="float:right; border:; margin:10px 0 10px 10px;"> |
|||
<includeonly><div class="template-calendar floatright"> |
|||
{|class="basictable" style="width:20em; font-size:95%; text-align:center; border:2px solid #3366cc; border-bottom:none;" |
|||
<div class="template-calendar__header"> |
|||
| style="text-align:center; font-size:125%; font-weight:200; padding:6px; background-color:#3366cc; color:white;" colspan="7"| {{{1}}} |
|||
{{Prevnext |
|||
|- |
|||
|prev={{#time:1 F|{{{1}}} + 11 months}} |
|||
|style="font-size:90%; text-align:center; background:#fff;"|[[1 {{{1}}}|1]] |
|||
|prevTitle={{#time:M|{{{1}}} + 11 months}} |
|||
|style="font-size:90%; text-align:center; background:#fff;"|[[2 {{{1}}}|2]] |
|||
|title={{{1| }}} |
|||
|style="font-size:90%; text-align:center; background:#fff;"|[[3 {{{1}}}|3]] |
|||
|next={{#time:1 F|{{{1}}} + 1 month}} |
|||
|style="font-size:90%; text-align:center; background:#fff;"|[[4 {{{1}}}|4]] |
|||
|nextTitle={{#time:M|{{{1}}} + 1 month}} |
|||
|style="font-size:90%; text-align:center; background:#fff;"|[[5 {{{1}}}|5]] |
|||
}} |
|||
|style="font-size:90%; text-align:center; background:#fff;"|[[6 {{{1}}}|6]] |
|||
</div> |
|||
|style="font-size:90%; text-align:center; background:#fff;"|[[7 {{{1}}}|7]] |
|||
<div class="template-calendar__grid"> |
|||
|- |
|||
<div class="template-calendar__day">[[1 {{{1}}}|1]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f7f7f7;"|[[8 {{{1}}}|8]] |
|||
<div class="template-calendar__day">[[2 {{{1}}}|2]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f7f7f7;"|[[9 {{{1}}}|9]] |
|||
<div class="template-calendar__day">[[3 {{{1}}}|3]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f7f7f7;"|[[10 {{{1}}}|10]] |
|||
<div class="template-calendar__day">[[4 {{{1}}}|4]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f7f7f7;"|[[11 {{{1}}}|11]] |
|||
<div class="template-calendar__day">[[5 {{{1}}}|5]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f7f7f7;"|[[12 {{{1}}}|12]] |
|||
<div class="template-calendar__day">[[6 {{{1}}}|6]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f7f7f7;"|[[13 {{{1}}}|13]] |
|||
<div class="template-calendar__day">[[7 {{{1}}}|7]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f7f7f7;"|[[14 {{{1}}}|14]] |
|||
<div class="template-calendar__day">[[8 {{{1}}}|8]]</div> |
|||
|- |
|||
<div class="template-calendar__day">[[9 {{{1}}}|9]]</div> |
|||
|style="font-size:90%; text-align:center; background:#fff;"|[[15 {{{1}}}|15]] |
|||
<div class="template-calendar__day">[[10 {{{1}}}|10]]</div> |
|||
|style="font-size:90%; text-align:center; background:#fff;"|[[16 {{{1}}}|16]] |
|||
<div class="template-calendar__day">[[11 {{{1}}}|11]]</div> |
|||
|style="font-size:90%; text-align:center; background:#fff;"|[[17 {{{1}}}|17]] |
|||
<div class="template-calendar__day">[[12 {{{1}}}|12]]</div> |
|||
|style="font-size:90%; text-align:center; background:#fff;"|[[18 {{{1}}}|18]] |
|||
<div class="template-calendar__day">[[13 {{{1}}}|13]]</div> |
|||
|style="font-size:90%; text-align:center; background:#fff;"|[[19 {{{1}}}|19]] |
|||
<div class="template-calendar__day">[[14 {{{1}}}|14]]</div> |
|||
|style="font-size:90%; text-align:center; background:#fff;"|[[20 {{{1}}}|20]] |
|||
<div class="template-calendar__day">[[15 {{{1}}}|15]]</div> |
|||
|style="font-size:90%; text-align:center; background:#fff;"|[[21 {{{1}}}|21]] |
|||
<div class="template-calendar__day">[[16 {{{1}}}|16]]</div> |
|||
|- |
|||
<div class="template-calendar__day">[[17 {{{1}}}|17]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f7f7f7;"|[[22 {{{1}}}|22]] |
|||
<div class="template-calendar__day">[[18 {{{1}}}|18]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f7f7f7;"|[[23 {{{1}}}|23]] |
|||
<div class="template-calendar__day">[[19 {{{1}}}|19]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f7f7f7;"|[[24 {{{1}}}|24]] |
|||
<div class="template-calendar__day">[[20 {{{1}}}|20]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f7f7f7;"|[[25 {{{1}}}|25]] |
|||
<div class="template-calendar__day">[[21 {{{1}}}|21]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f7f7f7;"|[[26 {{{1}}}|26]] |
|||
<div class="template-calendar__day">[[22 {{{1}}}|22]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f7f7f7;"|[[27 {{{1}}}|27]] |
|||
<div class="template-calendar__day">[[23 {{{1}}}|23]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f7f7f7;"|[[28 {{{1}}}|28]] |
|||
<div class="template-calendar__day">[[24 {{{1}}}|24]]</div> |
|||
|- |
|||
<div class="template-calendar__day">[[25 {{{1}}}|25]]</div> |
|||
|style="font-size:90%; text-align:center; background:#fff;"|[[29 {{{1}}}|29]] |
|||
<div class="template-calendar__day">[[26 {{{1}}}|26]]</div> |
|||
|style="font-size:90%; text-align:center; background:#fff;"|{{t|1=|1{{{hide30|}}}=[[30 {{{1}}}|30]]}} |
|||
<div class="template-calendar__day">[[27 {{{1}}}|27]]</div> |
|||
|style="font-size:90%; text-align:center; background:#fff;"|{{t|1=|1{{{hide31|}}}=[[31 {{{1}}}|31]]}} |
|||
<div class="template-calendar__day">[[28 {{{1}}}|28]]</div> |
|||
|style="background:#fff;"| |
|||
<div class="template-calendar__day">[[29 {{{1}}}|29]]</div> |
|||
|style="background:#fff;"| |
|||
<div class="template-calendar__day {{#ifeq:{{{1}}}|{{#time:F|29 {{{1}}} 2000 + 1 day}}||template-calendar__day--nextmonth}}">{{#time:[[j F{{!}}j]]|29 {{{1}}} 2000 + 1 day}}</div> |
|||
|style="background:#fff;"| |
|||
<div class="template-calendar__day {{#ifeq:{{{1}}}|{{#time:F|29 {{{1}}} 2000 + 2 days}}||template-calendar__day--nextmonth}}">{{#time:[[j F{{!}}j]]|29 {{{1}}} 2000 + 2 days}}</div> |
|||
|style="background:#fff;"| |
|||
<div class="template-calendar__day {{#ifeq:{{{1}}}|{{#time:F|29 {{{1}}} 2000 + 3 days}}||template-calendar__day--nextmonth}}">{{#time:[[j F{{!}}j]]|29 {{{1}}} 2000 + 3 days}}</div> |
|||
|} |
|||
<div class="template-calendar__day {{#ifeq:{{{1}}}|{{#time:F|29 {{{1}}} 2000 + 4 days}}||template-calendar__day--nextmonth}}">{{#time:[[j F{{!}}j]]|29 {{{1}}} 2000 + 4 days}}</div> |
|||
{|class="basictable" style="width:100%; font-size:95%; text-align:center; border:2px solid #3366cc; border-top:none;" |
|||
<div class="template-calendar__day {{#ifeq:{{{1}}}|{{#time:F|29 {{{1}}} 2000 + 5 days}}||template-calendar__day--nextmonth}}">{{#time:[[j F{{!}}j]]|29 {{{1}}} 2000 + 5 days}}</div> |
|||
|- |
|||
<div class="template-calendar__day {{#ifeq:{{{1}}}|{{#time:F|29 {{{1}}} 2000 + 6 days}}||template-calendar__day--nextmonth}}">{{#time:[[j F{{!}}j]]|29 {{{1}}} 2000 + 6 days}}</div> |
|||
| style="font-size:85%; text-align:center; background:#eaeaea; width:auto;" | [[January|Jan]] |
|||
</div> |
|||
| style="font-size:85%; text-align:center; background:#eaeaea; width:auto;" | [[February|Feb]] |
|||
<div class="template-calendar__footer">[[:Category:On this day|Other dates]]</div> |
|||
| style="font-size:85%; text-align:center; background:#eaeaea; width:auto;" | [[March|Mar]] |
|||
</div><templatestyles src="Template:Calendar/styles.css" /></includeonly><noinclude>{{doc|{{calendar/doc}}}}</noinclude> |
|||
| style="font-size:85%; text-align:center; background:#eaeaea; width:auto;" | [[April|Apr]] |
|||
| style="font-size:85%; text-align:center; background:#eaeaea; width:auto;" | [[May]] |
|||
| style="font-size:85%; text-align:center; background:#eaeaea; width:auto;" | [[June|Jun]] |
|||
|- |
|||
| style="font-size:85%; text-align:center; background:#eaeaea; width:auto;" | [[July|Jul]] |
|||
| style="font-size:85%; text-align:center; background:#eaeaea; width:auto;" | [[August|Aug]] |
|||
| style="font-size:85%; text-align:center; background:#eaeaea; width:auto;" | [[September|Sep]] |
|||
| style="font-size:85%; text-align:center; background:#eaeaea; width:auto;" | [[October|Oct]] |
|||
| style="font-size:85%; text-align:center; background:#eaeaea; width:auto;" | [[November|Nov]] |
|||
| style="font-size:85%; text-align:center; background:#eaeaea; width:auto;" | [[December|Dec]] |
|||
|}</div><noinclude><br clear="all" /> |
|||
==Parameters== |
|||
*hide30 |
|||
*hide31 |
|||
<pre>Usage: To place the calendar on any page simply use the following code: <nowiki>{{Calendar|month-name-here|hide31=yes or no}}</nowiki></pre> |
|||
[[Category:Template]] |
|||
</noinclude> |
Latest revision as of 22:51, 22 December 2023
Template documentation
The {{calendar}} template displays the calendar for a particular month. Simply copy or type {{calendar|month name}}
to populate a specific month.
The above documentation is transcluded from Template:Calendar/doc.