Jump to content

Template:Weather inline/doc: Difference between revisions

From Stardew Valley Wiki
imported>BryghtShadow
Template:Weather inline now uses {{{1}}}.
imported>Margotbean
No edit summary
 
(19 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<pre>
==Description==
*{{Weather inline|sunny}}
This template displays the icon for the type of weather, plus a link to the associated wiki page.
*{{Weather inline|rain}}
 
*{{Weather inline|pollen}}
==Use==
*{{Weather inline|storm}}
<pre>{{Weather inline|type of weather|width (optional)}}</pre>
*{{Weather inline|snow}}
 
</pre>
==Valid Parameters==
*{{Weather inline|sunny}}
There are 9 valid types of weather. All are case-insensitive.
*{{Weather inline|rain}}
*All / Any = {{Weather inline|All}}
*{{Weather inline|pollen}}
*Sun = {{Weather inline|Sun}}
*{{Weather inline|storm}}
*Springwind = {{Weather inline|Springwind}}
*{{Weather inline|snow}}
*Fallwind = {{Weather inline|Fallwind}}
<includeonly>[[Category:General wiki templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
*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