Difference between revisions of "Template:ScheduleHeader"

From Stardew Valley Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{| class="mw-collapsible mw-collapsed" style="border: 1px solid {{#switch:{{LC:{{{1|}}}}}
+
<includeonly>{| class="mw-collapsible mw-collapsed" style="border: 1px solid {{#switch:{{lc:{{{1|}}}}}
 
   | spring    = rgb(38,  160,  38)
 
   | spring    = rgb(38,  160,  38)
 
   | summer    = rgb(255, 219,  77)  
 
   | summer    = rgb(255, 219,  77)  
Line 7: Line 7:
 
   | deviations = rgb(255,  0,  0)
 
   | deviations = rgb(255,  0,  0)
 
}}; padding: 5px; border-radius: 11px; margin-top: 15px; width: 500px;"  
 
}}; padding: 5px; border-radius: 11px; margin-top: 15px; width: 500px;"  
! style="background-color: #{{#switch:{{LC:{{{1|}}}}}
+
! style="background-color: #{{#switch:{{lc:{{{1|}}}}}
 
   | spring    = 5CD65C
 
   | spring    = 5CD65C
 
   | summer    = FFDB4D  
 
   | summer    = FFDB4D  

Revision as of 18:06, 21 May 2017

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