Difference between revisions of "Template:Season/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
Line 8: Line 8:
  
 
==Use==
 
==Use==
<pre>{{Season|''season''}}</pre>
+
<pre>{{Season|name of season|day (optional)|width (optional)}}</pre>
 
 
==Parameters==
 
<pre>
 
season = name of season (in English or native language)
 
day = day of season, shown before the name of the season (optional)
 
width = width of image in pixels (optional)
 
</pre>
 
  
 
===Examples===
 
===Examples===

Revision as of 21:26, 7 May 2022

Description

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

The icon and text are enclosed in a nowrap span, so that they are always displayed on the same line.

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