Difference between revisions of "Template:Weather inline"

From Stardew Valley Wiki
Jump to navigation Jump to search
(change pollen to wind)
(Trying to get rid of an extra line-break in an infobox)
Line 5: Line 5:
 
| stormy | storm = [[File:Thunderstorm.png]] [[Weather|Storm]]
 
| stormy | storm = [[File:Thunderstorm.png]] [[Weather|Storm]]
 
| snowy | snow = [[File:Snow.png]] [[Weather|Snow]]
 
| snowy | snow = [[File:Snow.png]] [[Weather|Snow]]
| <span style="color:red">WEATHER TEMPLATE ERROR</span>
+
| #default = <span style="color:red">WEATHER TEMPLATE ERROR</span>}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude>
 

Revision as of 22:58, 24 April 2017

Description

This template displays the icon for the type of weather, plus a link to the associated wiki page.

Use

{{Weather inline|type of weather|width (optional)}}

Valid Parameters

There are 9 valid types of weather. All are case-insensitive.

  • All / Any = WEATHER TEMPLATE ERROR
  • Sun = Sunny.png Sun
  • Springwind = WEATHER TEMPLATE ERROR
  • Fallwind = WEATHER TEMPLATE ERROR
  • Rain = Rain.png Rain
  • Storm = Thunderstorm.png Storm
  • Snow = Snow.png Snow
  • Festival = WEATHER TEMPLATE ERROR

Width

Specify the width in pixels, and include "px".

{{Weather inline|Snow|width=24px}}

Snow.png Snow