Jump to content

Template:Season: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
No edit summary
imported>Margotbean
m Reverted edits by IBugOne (talk) to last revision by Margotbean
 
(3 intermediate revisions by 2 users not shown)
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]]
Line 6: Line 6:
|marriage|[[marriage]] = [[File:Mermaid's Pendant.png|{{{width|24px}}}|link=]]&nbsp;[[Marriage]]
|marriage|[[marriage]] = [[File:Mermaid's Pendant.png|{{{width|24px}}}|link=]]&nbsp;[[Marriage]]
|deviations = Deviations
|deviations = Deviations
|5|05|all|any = [[File:All Seasons Icon.png|{{{width|24px}}}|link=]]&nbsp;[[Seasons|All Seasons]]
|5|05|all|any = [[File:All Seasons Icon.png|{{{width|24px}}}|link=]]&nbsp;[[Seasons|All]]
|#default = {{ucfirst:{{{1|}}} }} }}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
|#default = {{ucfirst:{{{1|}}} }} }}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Latest revision as of 05:16, 23 June 2024

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
 Marriage
Deviations
48 All
 24 Summer