Template:Calendar: Difference between revisions

Template page
Content added Content deleted
(change to wikitable)
m (changed "other dates" link)
 
(42 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!--Attribution: Star Citizen Wiki-->
<div style="border:none; padding:0px; margin:8px 10px 15px 15px; float:right; width:14.85em;">
<includeonly><div class="template-calendar floatright">
{|style="width:14em; font-size:95%; text-align:center;" class="wikitable"
<div class="template-calendar__header">
| style="text-align:center; font-size:110%; padding:4px; text-transform:; background-color:#444444; color:white;" colspan="42"| {{{1}}}
{{Prevnext
|-
|prev={{#time:1 F|{{{1}}} + 11 months}}
| colspan="6" bgcolor="#ececec" width="22px" | [[1 {{{1}}}|1]]
|prevTitle={{#time:M|{{{1}}} + 11 months}}
| colspan="6" bgcolor="#ececec" width="22px" | [[2 {{{1}}}|2]]
|title={{{1|&nbsp;}}}
| colspan="6" bgcolor="#ececec" width="22px" | [[3 {{{1}}}|3]]
|next={{#time:1 F|{{{1}}} + 1 month}}
| colspan="6" bgcolor="#ececec" width="22px" | [[4 {{{1}}}|4]]
|nextTitle={{#time:M|{{{1}}} + 1 month}}
| colspan="6" bgcolor="#ececec" width="22px" | [[5 {{{1}}}|5]]
}}
| colspan="6" bgcolor="#ececec" width="22px" | [[6 {{{1}}}|6]]
</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[7 {{{1}}}|7]]
<div class="template-calendar__grid">
|-
<div class="template-calendar__day">[[1 {{{1}}}|1]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[8 {{{1}}}|8]]
<div class="template-calendar__day">[[2 {{{1}}}|2]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[9 {{{1}}}|9]]
<div class="template-calendar__day">[[3 {{{1}}}|3]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[10 {{{1}}}|10]]
<div class="template-calendar__day">[[4 {{{1}}}|4]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[11 {{{1}}}|11]]
<div class="template-calendar__day">[[5 {{{1}}}|5]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[12 {{{1}}}|12]]
<div class="template-calendar__day">[[6 {{{1}}}|6]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[13 {{{1}}}|13]]
<div class="template-calendar__day">[[7 {{{1}}}|7]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[14 {{{1}}}|14]]
<div class="template-calendar__day">[[8 {{{1}}}|8]]</div>
|-
<div class="template-calendar__day">[[9 {{{1}}}|9]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[15 {{{1}}}|15]]
<div class="template-calendar__day">[[10 {{{1}}}|10]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[16 {{{1}}}|16]]
<div class="template-calendar__day">[[11 {{{1}}}|11]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[17 {{{1}}}|17]]
<div class="template-calendar__day">[[12 {{{1}}}|12]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[18 {{{1}}}|18]]
<div class="template-calendar__day">[[13 {{{1}}}|13]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[19 {{{1}}}|19]]
<div class="template-calendar__day">[[14 {{{1}}}|14]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[20 {{{1}}}|20]]
<div class="template-calendar__day">[[15 {{{1}}}|15]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[21 {{{1}}}|21]]
<div class="template-calendar__day">[[16 {{{1}}}|16]]</div>
|-
<div class="template-calendar__day">[[17 {{{1}}}|17]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[22 {{{1}}}|22]]
<div class="template-calendar__day">[[18 {{{1}}}|18]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[23 {{{1}}}|23]]
<div class="template-calendar__day">[[19 {{{1}}}|19]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[24 {{{1}}}|24]]
<div class="template-calendar__day">[[20 {{{1}}}|20]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[25 {{{1}}}|25]]
<div class="template-calendar__day">[[21 {{{1}}}|21]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[26 {{{1}}}|26]]
<div class="template-calendar__day">[[22 {{{1}}}|22]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[27 {{{1}}}|27]]
<div class="template-calendar__day">[[23 {{{1}}}|23]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[28 {{{1}}}|28]]
<div class="template-calendar__day">[[24 {{{1}}}|24]]</div>
|-
<div class="template-calendar__day">[[25 {{{1}}}|25]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | [[29 {{{1}}}|29]]
<div class="template-calendar__day">[[26 {{{1}}}|26]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | {{t|1=|1{{{hide30|}}}=[[30 {{{1}}}|30]]}}
<div class="template-calendar__day">[[27 {{{1}}}|27]]</div>
| colspan="6" bgcolor="#ececec" width="22px" | {{t|1=|1{{{hide31|}}}=[[31 {{{1}}}|31]]}}
<div class="template-calendar__day">[[28 {{{1}}}|28]]</div>
| colspan="6" bgcolor="#ececec" width="22px" |
<div class="template-calendar__day">[[29 {{{1}}}|29]]</div>
| colspan="6" bgcolor="#ececec" width="22px" |
<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>
| colspan="6" bgcolor="#ececec" width="22px" |
<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>
| colspan="6" bgcolor="#ececec" width="22px" |
<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>
| style="font-size:smaller" colspan="7" bgcolor="#d4d4d4" width="26px" | [[January|Jan]]
<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>
| style="font-size:smaller" colspan="7" bgcolor="#d4d4d4" width="26px" | [[February|Feb]]
<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:smaller" colspan="7" bgcolor="#d4d4d4" width="26px" | [[March|Mar]]
</div>
| style="font-size:smaller" colspan="7" bgcolor="#d4d4d4" width="26px" | [[April|Apr]]
<div class="template-calendar__footer">[[:Category:On this day|Other dates]]</div>
| style="font-size:smaller" colspan="7" bgcolor="#d4d4d4" width="26px" | [[May]]
</div><templatestyles src="Template:Calendar/styles.css" /></includeonly><noinclude>{{doc|{{calendar/doc}}}}</noinclude>
| style="font-size:smaller" colspan="7" bgcolor="#d4d4d4" width="26px" | [[June|Jun]]
|-
| style="font-size:smaller" colspan="7" bgcolor="#d4d4d4" width="26px" | [[July|Jul]]
| style="font-size:smaller" colspan="7" bgcolor="#d4d4d4" width="26px" | [[August|Aug]]
| style="font-size:smaller" colspan="7" bgcolor="#d4d4d4" width="26px" | [[September|Sep]]
| style="font-size:smaller" colspan="7" bgcolor="#d4d4d4" width="26px" | [[October|Oct]]
| style="font-size:smaller" colspan="7" bgcolor="#d4d4d4" width="26px" | [[November|Nov]]
| style="font-size:smaller" colspan="7" bgcolor="#d4d4d4" width="26px" | [[December|Dec]]
|}</div></noinclude><br clear="all" />
==Parameters==
*hide30
*hide31

===Usage===
To place the calendar on any page simply use the following code: '''<nowiki>{{Calendar}}</nowiki>

[[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.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.