Difference between revisions of "Template:Season"

From Stardew Valley Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly><span style="white-space: nowrap; display:inline; margin-right:0;">{{#switch: {{lc:{{{1}}}}}
+
<includeonly><span style="display:inline; margin-right:0;">{{#switch: {{lc:{{{1}}}}}
 
|1|01|spring|[[spring]] = [[File:Spring.png|{{{width|24px}}}|link=]]{{#if:{{{2|}}}|&thinsp;{{{2|}}}}}&nbsp;[[Spring]]
 
|1|01|spring|[[spring]] = [[File:Spring.png|{{{width|24px}}}|link=]]{{#if:{{{2|}}}|&thinsp;{{{2|}}}}}&nbsp;[[Spring]]
 
|2|02|summer|[[summer]] = [[File:Summer.png|{{{width|24px}}}|link=]]{{#if:{{{2|}}}|&thinsp;{{{2|}}}}}&nbsp;[[Summer]]
 
|2|02|summer|[[summer]] = [[File:Summer.png|{{{width|24px}}}|link=]]{{#if:{{{2|}}}|&thinsp;{{{2|}}}}}&nbsp;[[Summer]]

Revision as of 17:42, 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 Seasons
Summer.png 24 Summer