Template:Weather inline: Difference between revisions
Appearance
imported>Margotbean No edit summary |
imported>Margotbean No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#switch: {{lc: | <includeonly>{{#switch: {{lc:{{{1|}}}}} | ||
| sunny | sun = [[File:Sunny.png|link=]] [[Weather|Sun]] | | sunny | sun = [[File:Sunny.png|link=]] [[Weather|Sun]] | ||
| rainy | rain = [[File:Rain.png|link=]] [[Weather|Rain]] | | rainy | rain = [[File:Rain.png|link=]] [[Weather|Rain]] | ||
Revision as of 19:26, 6 October 2018
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.
- All / Any = WEATHER TEMPLATE ERROR
- Sun =
Sun - Springwind =
Wind - Fallwind = WEATHER TEMPLATE ERROR
- Rain =
Rain - Storm =
Storm - Snow =
Snow - Festival = WEATHER TEMPLATE ERROR
Width
Specify the width in pixels, and include "px".
{{Weather inline|Snow|width=24px}}