Difference between revisions of "Template:ScheduleHeader"

From Stardew Valley Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<includeonly>{| class="mw-collapsible mw-collapsed" style="border:1px solid {{#switch: {{{1|}}}|Spring= rgb(92, 214, 92)|Summer= rgb(255, 219, 77) |Fall= rgb(230, 138, 0) |Winter= rgb(102, 204, 255)}};padding:5px;border-radius:11px;margin-top:15px;width:500px;"  
 
<includeonly>{| class="mw-collapsible mw-collapsed" style="border:1px solid {{#switch: {{{1|}}}|Spring= rgb(92, 214, 92)|Summer= rgb(255, 219, 77) |Fall= rgb(230, 138, 0) |Winter= rgb(102, 204, 255)}};padding:5px;border-radius:11px;margin-top:15px;width:500px;"  
!background: #{{#switch: {{{1|}}}|Spring= 5cd65c|Summer= ffdb4d |Fall= e68a00 |Winter= 66ccff}};" | <big>{{Season|{{{1|}}}}}</big></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
+
!style="background: #{{#switch: {{{1|}}}|Spring= 5cd65c|Summer= ffdb4d |Fall= e68a00 |Winter= 66ccff}};" | <big>{{Season|{{{1|}}}}}</big></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Revision as of 12:38, 6 July 2016

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