Difference between revisions of "Template:ScheduleHeader"

From Stardew Valley Wiki
Jump to navigation Jump to search
(Undo revision 42248 by Margotbean (talk))
(Testing Marriage header again)
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|}}}
!style="background: #{{#switch: {{{1|}}}|Spring= 5cd65c|Summer= ffdb4d |Fall= e68a00 |Winter= 66ccff}};" | <big>{{Season|{{{1|}}}}}</big></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
+
|Spring= rgb(92, 214, 92)
 +
|Summer= rgb(255, 219, 77)  
 +
|Fall= rgb(230, 138, 0)  
 +
|Winter= rgb(102, 204, 255)
 +
|Marriage= rgb(233, 19, 240)}}; padding:5px;border-radius:11px;margin-top:15px;width:500px;"  
 +
!style="background: #{{#switch: {{{1|}}}
 +
|Spring= 5cd65c
 +
|Summer= ffdb4d  
 +
|Fall= e68a00  
 +
|Winter= 66ccff
 +
|Marriage= e913f0}};" | <big>{{Season|{{{1|}}}}}</big></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Revision as of 10:38, 25 January 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