Difference between revisions of "Template:Season"

From Stardew Valley Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
 
<includeonly>{{#switch: {{{1}}}
 
<includeonly>{{#switch: {{{1}}}
| spring = [[File:Spring.png|border]]&nbsp;[[Spring]]
+
| spring = [[File:Spring.png|{{{width|24px}}}]]&nbsp;[[Spring]]
| summer = [[File:Summer.png|border]]&nbsp;[[Summer]]
+
| summer = [[File:Summer.png|{{{width|24px}}}]]&nbsp;[[Summer]]
| fall= [[File:Fall.png|border]]&nbsp;[[Fall]]
+
| fall= [[File:Fall.png|{{{width|24px}}}]]&nbsp;[[Fall]]
| winter= [[File:Winter.png|border]]&nbsp;[[Winter]]
+
| winter= [[File:Winter.png|{{{width|24px}}}]]&nbsp;[[Winter]]
 
| <span style="color:red">SEASON TEMPLATE ERROR</span>
 
| <span style="color:red">SEASON TEMPLATE ERROR</span>
 
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
 
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Revision as of 21:55, 5 July 2016

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: