Difference between revisions of "Template:ScheduleHeader"

From Stardew Valley Wiki
Jump to navigation Jump to search
(Testing Marriage header again)
(more readable color)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{| class="mw-collapsible mw-collapsed" style="border:1px solid {{#switch: {{{1|}}}
+
<includeonly>{| class="mw-collapsible mw-collapsed" style="border: 1px solid {{#switch:{{lc:{{{1|}}}}}
|Spring= rgb(92, 214, 92)
+
  | spring    = rgb(38, 160, 38)
|Summer= rgb(255, 219, 77)  
+
  | summer    = rgb(255, 219, 77)  
|Fall= rgb(230, 138, 0)  
+
  | fall      = rgb(230, 138,   0)  
|Winter= rgb(102, 204, 255)
+
  | winter    = rgb(68, 155, 237)
|Marriage= rgb(233, 19, 240)}}; padding:5px;border-radius:11px;margin-top:15px;width:500px;"  
+
  | marriage  = rgb(233, 19, 240)
!style="background: #{{#switch: {{{1|}}}
+
  | deviations = rgb(255,  0,  0)
|Spring= 5cd65c
+
}}; padding: 5px; border-radius: 11px; margin-top: 15px; width: 500px;"  
|Summer= ffdb4d
+
! style="background-color: #{{#switch:{{lc:{{{1|}}}}}
|Fall= e68a00
+
  | spring    = 5CD65C
|Winter= 66ccff
+
  | summer    = FFDB4D
|Marriage= e913f0}};" | <big>{{Season|{{{1|}}}}}</big></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
+
  | fall      = E68A00
 +
  | winter    = 66CCFF
 +
  | marriage  = FF3DFF
 +
  | deviations = FF5A5A
 +
}};"|<span style="font-size: larger;">{{Season|{{{1|}}}}}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Latest revision as of 00:36, 29 July 2019

Used on villager pages to simplify and homogenize schedule headers.
Note that the template must be closed with |}

Use

{{ScheduleHeader|Spring}}
//Schedule tables and headings go here
|}
Spring.png Spring
{{ScheduleHeader|Summer}}
//Schedule tables and headings go here
|}
Summer.png Summer
{{ScheduleHeader|Fall}}
//Schedule tables and headings go here
|}
Fall.png Fall
{{ScheduleHeader|Winter}}
//Schedule tables and headings go here
|}
Winter.png Winter
{{ScheduleHeader|Marriage}}
//Schedule tables and headings go here
|}
Mermaid's Pendant.png Marriage
{{ScheduleHeader|Deviations}}
//Schedule tables and headings go here
|}
Deviations