Difference between revisions of "Template:Season/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
(Created page with "<pre>{{Season|spring}} {{Season|summer}} {{Season|fall}} {{Season|winter}}</pre> {{Season|spring}} {{Season|summer}} {{Season|fall}} {{Season|winter}}")
 
 
(30 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<pre>{{Season|spring}}
+
==Description==
{{Season|summer}}
+
This template displays the icon for the requested season, plus the season as a link to its associated article.
{{Season|fall}}
 
{{Season|winter}}</pre>
 
  
{{Season|spring}}
+
==Notes==
 +
The template recognizes two special values of season, <samp>Marriage</samp> and <samp>Deviations</samp>, for the sake of NPC schedule pages (see [[Template:ScheduleHeader]]).
  
{{Season|summer}}
+
==Use==
 +
<pre>{{Season|name of season|day (optional)|width (optional)}}</pre>
  
{{Season|fall}}
+
===Examples===
 +
<pre>{{Season|Spring}}
 +
{{Season|Marriage}}
 +
{{Season|Deviations}}
 +
{{Season|All|width=48}}
 +
{{Season|Summer|24}}
 +
</pre>
  
{{Season|winter}}
+
Results:<br />
 +
{{Season|Spring}}<br />
 +
{{Season|Marriage}}<br />
 +
{{Season|Deviations}}<br />
 +
{{Season|All|width=48}}<br />
 +
{{Season|Summer|24}}<br />
 +
 
 +
<includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 21:28, 8 January 2023

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