Jump to content

Template:ScheduleHeader: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
Undo revision 42248 by Margotbean (talk)
imported>Margotbean
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
{{ScheduleHeader|Summer}}
//Schedule tables and headings go here
|}
 Summer
{{ScheduleHeader|Fall}}
//Schedule tables and headings go here
|}
 Fall
{{ScheduleHeader|Winter}}
//Schedule tables and headings go here
|}
 Winter
{{ScheduleHeader|Marriage}}
//Schedule tables and headings go here
|}
 Marriage
{{ScheduleHeader|Deviations}}
//Schedule tables and headings go here
|}
Deviations