Template:ScheduleHeader: Difference between revisions
Appearance
imported>Margotbean Let's see if Season Deviations works |
imported>Technical 13 Make this a little more readable and <big>...</big> was deprecated in favor of CSS "font-size: larger;" also remove case sensitivity in #switch:{{{1|}}}|case= statements |
||
| 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(38,160,38) | ||
| | | summer = rgb(255, 219, 77) | ||
| | | fall = rgb(230, 138, 0) | ||
| | | winter = rgb(68,155,237) | ||
| | | marriage = rgb(233, 19, 240) | ||
| | | deviations = rgb(255,0,0) | ||
!style="background: #{{#switch: {{{1|}}} | }}; padding: 5px; border-radius: 11px; margin-top: 15px; width: 500px;" | ||
| | ! style="background: #{{#switch:{{LC:{{{1|}}}}} | ||
| | | spring = 5CD65C | ||
| | | summer = FFDB4D | ||
| | | fall = E68A00 | ||
| | | winter = 66CCFF | ||
| | | marriage = E913F0 | ||
| deviations = FF5A5A | |||
}}; font-size: larger;" | {{Season|{{{1|}}}}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | |||
Revision as of 17:44, 27 February 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
|}
{{ScheduleHeader|Summer}}
//Schedule tables and headings go here
|}
{{ScheduleHeader|Fall}}
//Schedule tables and headings go here
|}
{{ScheduleHeader|Winter}}
//Schedule tables and headings go here
|}
{{ScheduleHeader|Marriage}}
//Schedule tables and headings go here
|}
{{ScheduleHeader|Deviations}}
//Schedule tables and headings go here
|}
| Deviations |
|---|