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

From Stardew Valley Wiki
Jump to navigation Jump to search
 
(15 intermediate revisions by 3 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:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
+
*All / Any = {{Weather inline|All}}
<includeonly>[[de:Vorlage:{{PAGENAME}}]]
+
*Sun = {{Weather inline|Sun}}
[[es:Plantilla:{{PAGENAME}}]]
+
*Springwind = {{Weather inline|Springwind}}
[[ja:テンプレート:{{PAGENAME}}]]
+
*Fallwind = {{Weather inline|Fallwind}}
[[pt:Predefinição:{{PAGENAME}}]]
+
*Rain = {{Weather inline|Rain}}
[[ru:Шаблон:{{PAGENAME}}]]
+
*Storm = {{Weather inline|Storm}}
[[zh:Template:{{PAGENAME}}]]</includeonly>
+
*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.png Snow