Difference between revisions of "Template:Season"

From Stardew Valley Wiki
Jump to navigation Jump to search
(trying to get rid of wanted template error)
(trying to get rid of wanted template error)
Line 1: Line 1:
<includeonly>{{#switch: {{{1}}}
+
<includeonly><span style="display:inline; margin-right:0;">{{#switch: {{{1}}}
 
| Spring  = [[File:Spring.png|{{{width|24px}}}|link=Spring]]&nbsp;[[Spring]]
 
| Spring  = [[File:Spring.png|{{{width|24px}}}|link=Spring]]&nbsp;[[Spring]]
 
| Summer  = [[File:Summer.png|{{{width|24px}}}|link=Summer]]&nbsp;[[Summer]]
 
| Summer  = [[File:Summer.png|{{{width|24px}}}|link=Summer]]&nbsp;[[Summer]]
Line 6: Line 6:
 
| Marriage = [[File:Mermaid's Pendant.png|{{{width|24px}}}|link=Marriage]]&nbsp;[[Marriage]]
 
| Marriage = [[File:Mermaid's Pendant.png|{{{width|24px}}}|link=Marriage]]&nbsp;[[Marriage]]
 
| Deviations = Deviations
 
| Deviations = Deviations
|{{{1|}}}}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
+
|{{{1|}}}}}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Revision as of 16:58, 27 September 2017

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
All
Summer.png Summer