Difference between revisions of "Template:Weather inline/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
(Created page with "<pre>{{Weather inline|value=sunny}} {{Weather inline|value=rain}} {{Weather inline|value=pollen}} {{Weather inline|value=storm}} {{Weather inline|value=snow}}</pre> {{Weather...")
 
 
(21 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<pre>{{Weather inline|value=sunny}}
+
==Description==
{{Weather inline|value=rain}}
+
This template displays the icon for the type of weather, plus a link to the associated wiki page.
{{Weather inline|value=pollen}}
 
{{Weather inline|value=storm}}
 
{{Weather inline|value=snow}}</pre>
 
  
{{Weather inline|value=sunny}}
+
==Use==
 +
<pre>{{Weather inline|type of weather|width (optional)}}</pre>
  
{{Weather inline|value=rain}}
+
==Valid Parameters==
 +
There are 9 valid types of weather. All are case-insensitive.
 +
*All / Any = {{Weather inline|All}}
 +
*Sun = {{Weather inline|Sun}}
 +
*Springwind = {{Weather inline|Springwind}}
 +
*Fallwind = {{Weather inline|Fallwind}}
 +
*Rain = {{Weather inline|Rain}}
 +
*Storm = {{Weather inline|Storm}}
 +
*Snow = {{Weather inline|Snow}}
 +
*Festival = {{Weather inline|Festival}}
  
{{Weather inline|value=pollen}}
+
==Width==
 
+
Specify the width in pixels, and include "px".
{{Weather inline|value=storm}}
+
<pre>{{Weather inline|Snow|width=24px}}</pre>
 
+
{{Weather inline|Snow|width=24px}}
{{Weather inline|value=snow}}
+
<includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 21:24, 8 January 2023

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.

Width

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

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

Snow.png Snow