More actions
Content deleted Content added
changed colour scheme |
new template design |
||
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:16em; font-size:95%; text-align:center; border:1px solid #bfa984; border-bottom:none;" |
|||
<div class="template-calendar__header"> |
|||
| style="text-align:center; font-size:115%; font-weight:500; padding:2px; background-color:#bfa984; color:#fff;" 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:#f2eee6;"|[[8 {{{1}}}|8]] |
|||
<div class="template-calendar__day">[[2 {{{1}}}|2]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f2eee6;"|[[9 {{{1}}}|9]] |
|||
<div class="template-calendar__day">[[3 {{{1}}}|3]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f2eee6;"|[[10 {{{1}}}|10]] |
|||
<div class="template-calendar__day">[[4 {{{1}}}|4]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f2eee6;"|[[11 {{{1}}}|11]] |
|||
<div class="template-calendar__day">[[5 {{{1}}}|5]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f2eee6;"|[[12 {{{1}}}|12]] |
|||
<div class="template-calendar__day">[[6 {{{1}}}|6]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f2eee6;"|[[13 {{{1}}}|13]] |
|||
<div class="template-calendar__day">[[7 {{{1}}}|7]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f2eee6;"|[[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:#f2eee6;"|[[22 {{{1}}}|22]] |
|||
<div class="template-calendar__day">[[18 {{{1}}}|18]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f2eee6;"|[[23 {{{1}}}|23]] |
|||
<div class="template-calendar__day">[[19 {{{1}}}|19]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f2eee6;"|[[24 {{{1}}}|24]] |
|||
<div class="template-calendar__day">[[20 {{{1}}}|20]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f2eee6;"|[[25 {{{1}}}|25]] |
|||
<div class="template-calendar__day">[[21 {{{1}}}|21]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f2eee6;"|[[26 {{{1}}}|26]] |
|||
<div class="template-calendar__day">[[22 {{{1}}}|22]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f2eee6;"|[[27 {{{1}}}|27]] |
|||
<div class="template-calendar__day">[[23 {{{1}}}|23]]</div> |
|||
|style="font-size:90%; text-align:center; background:#f2eee6;"|[[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:1px solid #aebcaf; 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:#e5ddce; width:auto;" | [[January|Jan]] |
|||
</div> |
|||
| style="font-size:85%; text-align:center; background:#e5ddce; width:auto;" | [[February|Feb]] |
|||
<div class="template-calendar__footer">[[:Category:Events by day|Other dates]]</div> |
|||
| style="font-size:85%; text-align:center; background:#e5ddce; 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:#e5ddce; width:auto;" | [[April|Apr]] |
|||
| style="font-size:85%; text-align:center; background:#e5ddce; width:auto;" | [[May|May]] |
|||
| style="font-size:85%; text-align:center; background:#e5ddce; width:auto;" | [[June|Jun]] |
|||
|- |
|||
| style="font-size:85%; text-align:center; background:#e5ddce; width:auto;" | [[July|Jul]] |
|||
| style="font-size:85%; text-align:center; background:#e5ddce; width:auto;" | [[August|Aug]] |
|||
| style="font-size:85%; text-align:center; background:#e5ddce; width:auto;" | [[September|Sep]] |
|||
| style="font-size:85%; text-align:center; background:#e5ddce; width:auto;" | [[October|Oct]] |
|||
| style="font-size:85%; text-align:center; background:#e5ddce; width:auto;" | [[November|Nov]] |
|||
| style="font-size:85%; text-align:center; background:#e5ddce; width:auto;" | [[December|Dec]] |
|||
|}</div><noinclude><br clear="all" /> |
|||
===Parameters=== |
|||
*hide30 |
|||
*hide31 |
|||
===Usage=== |
|||
To place the calendar on any page simply use the following example code: <code><nowiki>{{calendar|month-name|hide31=yes or no}}</nowiki></code> |
|||
[[Category:Templates]] |
|||
[[Category:On this day templates]] |
|||
</noinclude> |
Revision as of 16:17, 22 August 2023
The {{calendar}} template displays the calendar for a particular month.
Usage
- Copy or type
{{calendar|month name}}
to populate a specific month.
The above documentation is transcluded from Template:Calendar/doc.