Jump to content

Template:Weather inline/doc: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
→Usage: added examples of wind/windy
imported>Margotbean
No edit summary
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Usage==
==Description==
Parameters can be entered with or without "y" at the end (''e.g.,'' Sunny or Sun, Rainy or rain, etc.).  Capitalization does not matter.
This template displays the icon for the type of weather, plus a link to the associated wiki page.
<pre>*{{Weather inline|sunny}}
*{{Weather inline|rain}}
*{{Weather inline|POLLEN}} or {{Weather inline|wind}}
*{{Weather inline|stormy}}
*{{Weather inline|Snowy}}</pre>


*{{Weather inline|sun}}
==Use==
*{{Weather inline|rain}}
<pre>{{Weather inline|type of weather|width (optional)}}</pre>
*{{Weather inline|POLLEN}}
*{{Weather inline|storm}}
*{{Weather inline|Snow}}


<pre>{{Weather inline|sUN}} / {{Weather inline|Rainy}}</pre>
==Valid Parameters==
{{Weather inline|sun}} / {{Weather inline|rainy}}
There are 9 valid types of weather. All are case-insensitive.
<includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
*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}}
 
==Width==
Specify the width in pixels, and include "px".
<pre>{{Weather inline|Snow|width=24px}}</pre>
{{Weather inline|Snow|width=24px}}
<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