Difference between revisions of "Template:Season"

From Stardew Valley Wiki
Jump to navigation Jump to search
(add all seasons)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span style="display:inline; margin-right:0;">{{#switch: {{{1}}}
+
<includeonly><span style="display:inline; margin-right:0;">{{#switch: {{lc:{{{1}}}}}
| Spring  = [[File:Spring.png|{{{width|24px}}}|link=Spring]]&nbsp;[[Spring]]
+
|1|01|spring|[[spring]] = [[File:Spring.png|{{{width|24px}}}|link=]]{{#if:{{{2|}}}|&thinsp;{{{2|}}}}}&nbsp;[[Spring]]
| Summer  = [[File:Summer.png|{{{width|24px}}}|link=Summer]]&nbsp;[[Summer]]
+
|2|02|summer|[[summer]] = [[File:Summer.png|{{{width|24px}}}|link=]]{{#if:{{{2|}}}|&thinsp;{{{2|}}}}}&nbsp;[[Summer]]
| Fall    = [[File:Fall.png|{{{width|24px}}}|link=Fall]]&nbsp;[[Fall]]
+
|3|03|fall|autumn|[[fall]]|[[autumn]] = [[File:Fall.png|{{{width|24px}}}|link=]]{{#if:{{{2|}}}|&thinsp;{{{2|}}}}}&nbsp;[[Fall]]
| Winter  = [[File:Winter.png|{{{width|24px}}}|link=Winter]]&nbsp;[[Winter]]
+
|4|04|winter|[[winter]] = [[File:Winter.png|{{{width|24px}}}|link=]]{{#if:{{{2|}}}|&thinsp;{{{2|}}}}}&nbsp;[[Winter]]
| Marriage = [[File:Mermaid's Pendant.png|{{{width|24px}}}|link=Marriage]]&nbsp;[[Marriage]]
+
|marriage|[[marriage]] = [[File:Mermaid's Pendant.png|{{{width|24px}}}|link=]]&nbsp;[[Marriage]]
| Deviations = Deviations
+
|deviations = Deviations
| All | all | any | Any = [[File:All_Seasons_Icon.png|{{{width|24px}}}|link=Seasons]]&nbsp;[[Seasons|All seasons]]
+
|5|05|all|any = [[File:All Seasons Icon.png|{{{width|24px}}}|link=]]&nbsp;[[Seasons|All]]
|{{{1|}}}}}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
+
|#default = {{ucfirst:{{{1|}}} }} }}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Latest revision as of 18:55, 11 May 2022

Description

This template displays the icon for the requested season, plus the season as a link to its associated article.

Notes

The template recognizes two special values of season, Marriage and Deviations, for the sake of NPC schedule pages (see Template:ScheduleHeader).

Use

{{Season|name of season|day (optional)|width (optional)}}

Examples

{{Season|Spring}}
{{Season|Marriage}}
{{Season|Deviations}}
{{Season|All|width=48}}
{{Season|Summer|24}}

Results:
Spring.png Spring
Mermaid's Pendant.png Marriage
Deviations
48 All
Summer.png 24 Summer