Difference between revisions of "Template:Infobox Season"
From Nookipedia, the Animal Crossing wiki
PanchamBro (talk | contribs) (using official icons) |
Dorsal Axe (talk | contribs) (Switching to CSS colour class) |
||
Line 1: | Line 1: | ||
{{Infobox 2.0 | {{Infobox 2.0 | ||
− | | primarycolor = {{#switch: {{{season|}}} | + | | colorclass = {{#switch: {{{season|}}} |
− | + | | Spring = color-spring | |
− | + | | Summer = color-summer | |
− | + | | Fall = color-fall | |
− | + | | Winter = color-winter | |
− | + | | #default = color-season | |
− | }} | + | }} |
− | | title = {{#if:{{{season|}}}|{{{season}}}|Season}} | + | | primarycolor = {{#switch: {{{season|}}} |
− | | lefticon = | + | | Spring = 333 83 |
− | {{#switch: {{{season|}}} | + | | Summer = 191 84 |
− | | Winter = [[File:Winter HHP Icon.png|22px|left|link=]] | + | | Fall = 29 87 |
− | | Spring = [[File:Spring HHP Icon.png|22px|left|link=]] | + | | Winter = 241 59 |
− | | Summer = [[File:Summer HHP Icon.png|22px|left|link=]] | + | | #default = 96 70 |
− | | Fall = [[File:Fall HHP Icon.png|22px|left|link=]] | + | }} |
− | | #default = | + | | title = {{#if:{{{season|}}}|{{{season}}}|Season}} |
− | }} | + | | lefticon = |
− | |righticon = | + | {{#switch: {{{season|}}} |
− | {{#switch: {{{season|}}} | + | | Winter = [[File:Winter HHP Icon.png|22px|left|link=]] |
− | | Winter = <span style="font-size:1.4em; color:#26258e">'''冬'''</span> | + | | Spring = [[File:Spring HHP Icon.png|22px|left|link=]] |
− | | Spring = <span style="font-size:1.4em; color:#a34378">'''春'''</span> | + | | Summer = [[File:Summer HHP Icon.png|22px|left|link=]] |
− | | Summer = <span style="font-size:1.4em; color:#45688F">'''夏'''</span> | + | | Fall = [[File:Fall HHP Icon.png|22px|left|link=]] |
− | | Fall = <span style="font-size:1.4em; color:#9A3719">'''秋'''</span> | + | | #default = |
− | | #default = | + | }} |
− | }} | + | |righticon = |
+ | {{#switch: {{{season|}}} | ||
+ | | Winter = <span style="font-size:1.4em; color:#26258e">'''冬'''</span> | ||
+ | | Spring = <span style="font-size:1.4em; color:#a34378">'''春'''</span> | ||
+ | | Summer = <span style="font-size:1.4em; color:#45688F">'''夏'''</span> | ||
+ | | Fall = <span style="font-size:1.4em; color:#9A3719">'''秋'''</span> | ||
+ | | #default = | ||
+ | }} | ||
− | | leftlink = {{#switch: {{{season|}}}|Winter=Fall|Spring=Winter|Summer=Spring|Fall=Summer|#default=}} | + | | leftlink = {{#switch: {{{season|}}}|Winter=Fall|Spring=Winter|Summer=Spring|Fall=Summer|#default=}} |
− | | rightlink = {{#switch: {{{season|}}}|Winter=Spring|Spring=Summer|Summer=Fall|Fall=Winter|#default=}} | + | | rightlink = {{#switch: {{{season|}}}|Winter=Spring|Spring=Summer|Summer=Fall|Fall=Winter|#default=}} |
− | | image = {{{image|}}} | + | | image = {{{image|}}} |
− | | caption = {{{caption|}}} | + | | caption = {{{caption|}}} |
− | | image2 = {{{image2|}}} | + | | image2 = {{{image2|}}} |
− | | caption2 = {{{caption2|}}} | + | | caption2 = {{{caption2|}}} |
<!-- NORTHERN HEMISPHERE MONTHS --> | <!-- NORTHERN HEMISPHERE MONTHS --> | ||
− | | calendar = [[File:Northern Hemisphere icon.png|20px|link=]] [[Northern Hemisphere]] months | + | | calendar = [[File:Northern Hemisphere icon.png|20px|link=]] [[Northern Hemisphere]] months |
− | | calcolor = {{#switch: {{{season|}}} | + | | calcolor = {{#switch: {{{season|}}} |
− | + | | Spring = 96 100 | |
− | + | | Summer = 43 84 | |
− | + | | Fall = 311 53 | |
− | + | | Winter = 188 80 | |
− | + | | #default = 0 0 | |
− | }} | + | }} |
− | | jan = {{#switch: {{{season|}}}| Winter = yes | #default = }} | + | | jan = {{#switch: {{{season|}}}| Winter = yes | #default = }} |
− | | feb = {{#switch: {{{season|}}}| Winter = yes | #default = }} | + | | feb = {{#switch: {{{season|}}}| Winter = yes | #default = }} |
− | | mar = {{#switch: {{{season|}}}| Spring = yes | #default = }} | + | | mar = {{#switch: {{{season|}}}| Spring = yes | #default = }} |
− | | apr = {{#switch: {{{season|}}}| Spring = yes | #default = }} | + | | apr = {{#switch: {{{season|}}}| Spring = yes | #default = }} |
− | | may = {{#switch: {{{season|}}}| Spring = yes | #default = }} | + | | may = {{#switch: {{{season|}}}| Spring = yes | #default = }} |
− | | jun = {{#switch: {{{season|}}}| Summer = yes | #default = }} | + | | jun = {{#switch: {{{season|}}}| Summer = yes | #default = }} |
− | | jul = {{#switch: {{{season|}}}| Summer = yes | #default = }} | + | | jul = {{#switch: {{{season|}}}| Summer = yes | #default = }} |
− | | aug = {{#switch: {{{season|}}}| Summer = yes | #default = }} | + | | aug = {{#switch: {{{season|}}}| Summer = yes | #default = }} |
− | | sep = {{#switch: {{{season|}}}| Fall = yes | #default = }} | + | | sep = {{#switch: {{{season|}}}| Fall = yes | #default = }} |
− | | oct = {{#switch: {{{season|}}}| Fall = yes | #default = }} | + | | oct = {{#switch: {{{season|}}}| Fall = yes | #default = }} |
− | | nov = {{#switch: {{{season|}}}| Fall = yes | #default = }} | + | | nov = {{#switch: {{{season|}}}| Fall = yes | #default = }} |
− | | dec = {{#switch: {{{season|}}}| Winter = yes | #default = }} | + | | dec = {{#switch: {{{season|}}}| Winter = yes | #default = }} |
<!-- SOUTHERN HEMISPHERE MONTHS --> | <!-- SOUTHERN HEMISPHERE MONTHS --> | ||
− | | calendar2 = [[Southern Hemisphere]] months [[File:Southern Hemisphere icon.png|20px|link=]] | + | | calendar2 = [[Southern Hemisphere]] months [[File:Southern Hemisphere icon.png|20px|link=]] |
− | | calcolor2 = {{#switch: {{{season|}}} | + | | calcolor2 = {{#switch: {{{season|}}} |
− | + | | Spring = 96 100 | |
− | + | | Summer = 43 84 | |
− | + | | Fall = 311 53 | |
− | + | | Winter = 188 80 | |
− | + | | #default = 0 0 | |
− | }} | + | }} |
− | | jan2 = {{#switch: {{{season|}}}| Summer = yes | #default = }} | + | | jan2 = {{#switch: {{{season|}}}| Summer = yes | #default = }} |
− | | feb2 = {{#switch: {{{season|}}}| Summer = yes | #default = }} | + | | feb2 = {{#switch: {{{season|}}}| Summer = yes | #default = }} |
− | | mar2 = {{#switch: {{{season|}}}| Fall = yes | #default = }} | + | | mar2 = {{#switch: {{{season|}}}| Fall = yes | #default = }} |
− | | apr2 = {{#switch: {{{season|}}}| Fall = yes | #default = }} | + | | apr2 = {{#switch: {{{season|}}}| Fall = yes | #default = }} |
− | | may2 = {{#switch: {{{season|}}}| Fall = yes | #default = }} | + | | may2 = {{#switch: {{{season|}}}| Fall = yes | #default = }} |
− | | jun2 = {{#switch: {{{season|}}}| Winter = yes | #default = }} | + | | jun2 = {{#switch: {{{season|}}}| Winter = yes | #default = }} |
− | | jul2 = {{#switch: {{{season|}}}| Winter = yes | #default = }} | + | | jul2 = {{#switch: {{{season|}}}| Winter = yes | #default = }} |
− | | aug2 = {{#switch: {{{season|}}}| Winter = yes | #default = }} | + | | aug2 = {{#switch: {{{season|}}}| Winter = yes | #default = }} |
− | | sep2 = {{#switch: {{{season|}}}| Spring = yes | #default = }} | + | | sep2 = {{#switch: {{{season|}}}| Spring = yes | #default = }} |
− | | oct2 = {{#switch: {{{season|}}}| Spring = yes | #default = }} | + | | oct2 = {{#switch: {{{season|}}}| Spring = yes | #default = }} |
− | | nov2 = {{#switch: {{{season|}}}| Spring = yes | #default = }} | + | | nov2 = {{#switch: {{{season|}}}| Spring = yes | #default = }} |
− | | dec2 = {{#switch: {{{season|}}}| Summer = yes | #default = }} | + | | dec2 = {{#switch: {{{season|}}}| Summer = yes | #default = }} |
− | | widelabel = Weather | + | | widelabel = Weather |
− | | widedata = {{{weather|}}} | + | | widedata = {{{weather|}}} |
}}<includeonly>[[Category:Seasons]]</includeonly><noinclude> | }}<includeonly>[[Category:Seasons]]</includeonly><noinclude> | ||
{{Clear}} | {{Clear}} |
Revision as of 04:12, May 18, 2024
| ||||||
![]() | ||||||
![]() | ||||||
---|---|---|---|---|---|---|
Jan | Feb | Mar | Apr | May | Jun | |
Jul | Aug | Sep | Oct | Nov | Dec | |
Southern Hemisphere months ![]() | ||||||
Jan | Feb | Mar | Apr | May | Jun | |
Jul | Aug | Sep | Oct | Nov | Dec |
Template documentation (view)
Usage
{{Infobox Season | season = | image = | caption = | image2 = | caption2 = | weather = }}
This infobox is to be used for articles about the four seasons, Spring, Summer, Fall, and Winter. The infobox has four different appearances based on the specified season, and will display a unique color-scheme and corresponding months in both hemispheres for each one.
Example
{{Infobox Season | season = Spring | image = [[File:Spring NH Artwork.jpg|280px]] | caption = Artwork of spring from {{NH|short|nolink}} | weather = Clear, Rain }}
| |||||||||||
| |||||||||||
![]() Artwork of spring from New Horizons | |||||||||||
![]() | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Jan | Feb | Mar | Apr | May | Jun | ||||||
Jul | Aug | Sep | Oct | Nov | Dec | ||||||
Southern Hemisphere months ![]() | |||||||||||
Jan | Feb | Mar | Apr | May | Jun | ||||||
Jul | Aug | Sep | Oct | Nov | Dec | ||||||
Weather | |||||||||||
Clear, Rain |