Jump to content

Template:Weather inline/doc: Difference between revisions

From Stardew Valley Wiki
imported>Oath2order
No edit summary
imported>Margotbean
No edit summary
 
(20 intermediate revisions by 5 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>
<includeonly>[[Category:General wiki 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