Difference between revisions of "Template:Season"

From Stardew Valley Wiki
Jump to navigation Jump to search
m
(Testing Season Marriage (for use with schedule headers))
Line 1: Line 1:
 
<includeonly><span style="display:inline; margin-right:0;">{{#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]]
| Fall= [[File:Fall.png|{{{width|24px}}}|link=Fall]]&nbsp;[[Fall]]
+
| Fall     = [[File:Fall.png|{{{width|24px}}}|link=Fall]]&nbsp;[[Fall]]
| Winter= [[File:Winter.png|{{{width|24px}}}|link=Winter]]&nbsp;[[Winter]]
+
| Winter   = [[File:Winter.png|{{{width|24px}}}|link=Winter]]&nbsp;[[Winter]]
 +
| Marriage = [[File:Mermaid's Pendant.png|{{width|24px}}}|link=Marriage]]&nbsp;[[Marriage]]
 
|{{{1|}}}}}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
 
|{{{1|}}}}}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Revision as of 10:32, 25 January 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
Template:Width} Marriage
Deviations
All
Summer.png Summer