Difference between revisions of "Template:Infobox Season"

From Nookipedia, the Animal Crossing wiki
(Fix #if statement)
(using official icons)
 
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
  | Spring  = 333 83
 
  | Spring  = 333 83
 
  | Summer  = 191 84
 
  | Summer  = 191 84
  | Autumn   = 29 87
+
  | Fall   = 29 87
 
  | Winter  = 241 59
 
  | Winter  = 241 59
 
  | #default = 96 70
 
  | #default = 96 70
 
}}
 
}}
| title          = {{#if:{{{season|}}}|{{{season|}}}|Season}}
+
| title          = {{#if:{{{season|}}}|{{{season}}}|Season}}
 
| lefticon      =  
 
| lefticon      =  
 
{{#switch: {{{season|}}}
 
{{#switch: {{{season|}}}
| Winter  = [[File:Snow Crystal NH Icon cropped.png|22px|left|link=]]
+
| Winter  = [[File:Winter HHP Icon.png|22px|left|link=]]
| Spring  = [[File:Sakura Petal NH Icon cropped.png|22px|left|link=]]
+
| Spring  = [[File:Spring HHP Icon.png|22px|left|link=]]
| Summer  = [[File:Shell Summer NH Icon cropped.png|22px|left|link=]]
+
| Summer  = [[File:Summer HHP Icon.png|22px|left|link=]]
| Autumn   = [[File:Autumn Leaf NH Icon cropped.png|22px|left|link=]]
+
| Fall   = [[File:Fall HHP Icon.png|22px|left|link=]]
 
| #default =  
 
| #default =  
 
}}
 
}}
 
|righticon      =  
 
|righticon      =  
 
{{#switch: {{{season|}}}
 
{{#switch: {{{season|}}}
| Winter  = <span style="font-size:1.4em; color:#4791A6">'''冬'''</span>
+
| Winter  = <span style="font-size:1.4em; color:#26258e">'''冬'''</span>
 
| Spring  = <span style="font-size:1.4em; color:#a34378">'''春'''</span>
 
| Spring  = <span style="font-size:1.4em; color:#a34378">'''春'''</span>
 
| Summer  = <span style="font-size:1.4em; color:#45688F">'''夏'''</span>
 
| Summer  = <span style="font-size:1.4em; color:#45688F">'''夏'''</span>
| Autumn   = <span style="font-size:1.4em; color:#9A3719">'''秋'''</span>
+
| Fall   = <span style="font-size:1.4em; color:#9A3719">'''秋'''</span>
 
| #default =  
 
| #default =  
 
}}
 
}}
  
| leftlink      = {{#switch: {{{season|}}}|Winter=Autumn|Spring=Winter|Summer=Spring|Autumn=Summer|#default=}}
+
| leftlink      = {{#switch: {{{season|}}}|Winter=Fall|Spring=Winter|Summer=Spring|Fall=Summer|#default=}}
| rightlink      = {{#switch:{{{season|}}}|Winter=Spring|Spring=Summer|Summer=Autumn|Autumn=Winter|#default=}}
+
| rightlink      = {{#switch: {{{season|}}}|Winter=Spring|Spring=Summer|Summer=Fall|Fall=Winter|#default=}}
  
 
| image          = {{{image|}}}
 
| image          = {{{image|}}}
Line 34: Line 34:
  
 
<!-- 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
 
  | Spring  = 96 100
 
  | Summer  = 43 84
 
  | Summer  = 43 84
  | Autumn   = 311 53
+
  | Fall   = 311 53
 
  | Winter  = 188 80
 
  | Winter  = 188 80
 
  | #default = 0 0
 
  | #default = 0 0
Line 50: Line 50:
 
| 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|}}}| Autumn = yes | #default = }}
+
| sep            = {{#switch: {{{season|}}}| Fall = yes | #default = }}
| oct            = {{#switch: {{{season|}}}| Autumn = yes | #default = }}
+
| oct            = {{#switch: {{{season|}}}| Fall = yes | #default = }}
| nov            = {{#switch: {{{season|}}}| Autumn = 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
 
  | Spring  = 96 100
 
  | Summer  = 43 84
 
  | Summer  = 43 84
  | Autumn   = 311 53
+
  | Fall   = 311 53
 
  | Winter  = 188 80
 
  | Winter  = 188 80
 
  | #default = 0 0
 
  | #default = 0 0
Line 66: Line 66:
 
| 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|}}}| Autumn = yes | #default = }}
+
| mar2          = {{#switch: {{{season|}}}| Fall = yes | #default = }}
| apr2          = {{#switch: {{{season|}}}| Autumn = yes | #default = }}
+
| apr2          = {{#switch: {{{season|}}}| Fall = yes | #default = }}
| may2          = {{#switch: {{{season|}}}| Autumn = 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 = }}

Latest revision as of 06:47, November 11, 2021

Season
No image available
Northern Hemisphere icon.png Northern Hemisphere months
Jan Feb Mar Apr May Jun
Jul Aug Sep Oct Nov Dec
Southern Hemisphere months Southern Hemisphere icon.png
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
}}


Spring HHP Icon.png
Spring
Winter Summer
Spring NH Artwork.jpg
Artwork of spring from New Horizons
Northern Hemisphere icon.png Northern Hemisphere months
Jan Feb Mar Apr May Jun
Jul Aug Sep Oct Nov Dec
Southern Hemisphere months Southern Hemisphere icon.png
Jan Feb Mar Apr May Jun
Jul Aug Sep Oct Nov Dec
Weather
Clear, Rain