Jump to content

Template:Season: Difference between revisions

From Stardew Valley Wiki
imported>Rigel Kent
unlinked doubled links; null alt attributes for all images
imported>Rigel Kent
recompressed images with CSS pixelated scaling
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=|alt=]]&nbsp;[[Spring]]
| Spring  = [[File:Spring.gif|{{{width|24px}}}|link=|alt=|class=pixels]]&nbsp;[[Spring]]
| Summer  = [[File:Summer.png|{{{width|24px}}}|link=|alt=]]&nbsp;[[Summer]]
| Summer  = [[File:Summer.gif|{{{width|24px}}}|link=|alt=|class=pixels]]&nbsp;[[Summer]]
| Fall    = [[File:Fall.png|{{{width|24px}}}|link=|alt=]]&nbsp;[[Fall]]
| Fall    = [[File:Fall.gif|{{{width|24px}}}|link=|alt=|class=pixels]]&nbsp;[[Fall]]
| Winter  = [[File:Winter.png|{{{width|24px}}}|link=|alt=]]&nbsp;[[Winter]]
| Winter  = [[File:Winter.gif|{{{width|24px}}}|link=|alt=|class=pixels]]&nbsp;[[Winter]]
| Marriage = [[File:Mermaid's Pendant.png|{{{width|24px}}}|link=|alt=]]&nbsp;[[Marriage]]
| Marriage = [[File:Mermaid's Pendant.gif|{{{width|24px}}}|link=|alt=|class=pixels]]&nbsp;[[Marriage]]
| Deviations = Deviations
| Deviations = Deviations
|{{{1|}}}}}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
|{{{1|}}}}}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>

Revision as of 22:05, 17 July 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:
File:Spring.gif Spring
File:Mermaid's Pendant.gif Marriage
Deviations
All
File:Summer.gif Summer