Difference between revisions of "Template:ScheduleHeader"
Jump to navigation
Jump to search
Technical 13 (talk | contribs) (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) |
Technical 13 (talk | contribs) (Add an "all year" option for people who have the same schedule regardless of season (like Clint).) |
||
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) | + | | all year = rgb(245, 245, 245) |
− | | summer = rgb(255, 219, 77) | + | | spring = rgb(38, 160, 38) |
− | | fall = rgb(230, 138, 0) | + | | summer = rgb(255, 219, 77) |
− | | winter = rgb(68,155,237) | + | | fall = rgb(230, 138, 0) |
− | | marriage = rgb(233, 19, 240) | + | | winter = rgb(68, 155, 237) |
− | | deviations = rgb(255,0,0) | + | | marriage = rgb(233, 19, 240) |
+ | | 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: #{{#switch:{{LC:{{{1|}}}}} | + | ! style="background-color: #{{#switch:{{LC:{{{1|}}}}} |
+ | | all year = F5F5F5 | ||
| spring = 5CD65C | | spring = 5CD65C | ||
| summer = FFDB4D | | summer = FFDB4D | ||
Line 15: | Line 17: | ||
| deviations = FF5A5A | | deviations = FF5A5A | ||
}}; font-size: larger;" | {{Season|{{{1|}}}}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | }}; font-size: larger;" | {{Season|{{{1|}}}}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | ||
+ | <span style="background: rgb(245, 245, 245)"> </span> |
Revision as of 15:31, 14 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
|
---|
{{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
|
---|