Template:Weather inline/doc

From Stardew Valley Wiki
< Template:Weather inline
Revision as of 23:36, 27 October 2020 by Nebulous Maestress (talk | contribs) (update docs)
Jump to navigation Jump to search

Weather inline displays the icon for the requested weather, plus the weather name as a link to the weather article. One or more types of weather may be specified, separated by commas.

The icon and text are enclosed in a nowrap span, so that they are always displayed on the same line.

Notes

  • Parameters can be entered with or without "y" at the end (e.g., Sunny or Sun, Rainy or rain, etc.). Capitalization does not matter.
  • There are two different icons for wind, Pollen (Pollen fall.png) and Springwind (Pollen spring.png). Both are displayed using the label Wind.

Usage

Syntax

Basic usage:

{{Weather inline | weather }}

Complete argument list:

{{Weather inline | weather 
         | size=px | width=widthpluspx | all=text_for_all | sortkey=true | space=value
         | text_only=true | no_translate=true }}

Parameters

There is one unnamed required parameter, weather. All other parameters are named and optional. Default value for all arguments is empty, unless specified otherwise.

All parameters other than weather are identical in meaning to Template:Season; see Season for documentation.

Usage

*{{Weather inline|sunny}} 
*{{Weather inline|rain}} 
*{{Weather inline|POLLEN}} or {{Weather inline|wind}}
*{{Weather inline|springwind}}
*{{Weather inline|stormy}}
*{{Weather inline|Snowy}}
{{Weather inline|sUN, Rainy|space= / }}

SUN, Rainy