Jump to content

Template:Season: Difference between revisions

From Stardew Valley Wiki
imported>Nebulous Maestress
Add support for day (e.g., birthday), consistent with french template
imported>Nebulous Maestress
m another synonym
Line 9: Line 9:
// define default display text in $lang_allseasons, with parameter allowing any other preferred value
// define default display text in $lang_allseasons, with parameter allowing any other preferred value
-->{{ParseInputValues|code=season||
-->{{ParseInputValues|code=season||
  ,All Seasons Icon, Seasons, All, All Seasons, Any, Always,
  ,All Seasons Icon, Seasons, All, All Seasons, Any, Always, Any Season,
  ,Spring,
  ,Spring,
  ,Summer,
  ,Summer,

Revision as of 04:15, 22 September 2020

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:
Template:ParseInputValues[[File:Template:ParseInputValues.png|

    24px | link=Template:ParseInputValues | alt=]] [[Template:ParseInputValues|Template:ParseInputValues]]

Template:ParseInputValues[[File:Template:ParseInputValues.png|

    24px | link=Template:ParseInputValues | alt=]] [[Template:ParseInputValues|Template:ParseInputValues]]

Template:ParseInputValues[[File:Template:ParseInputValues.png|

    24px | link=Template:ParseInputValues | alt=]] [[Template:ParseInputValues|Template:ParseInputValues]]

Template:ParseInputValues[[File:Template:ParseInputValues.png|

    48 | link=Template:ParseInputValues | alt=]] [[Template:ParseInputValues|Template:ParseInputValues]]

Template:ParseInputValues[[File:Template:ParseInputValues.png|

    24px | link=Template:ParseInputValues | alt=]] 24 [[Template:ParseInputValues|Template:ParseInputValues]]