Template:Weather inline: Difference between revisions
Appearance
imported>Margotbean Changed from "Sunny" to "Sun" to match the other weather patterns; allowed template to accept any version of weather + y at end; changed all links to Weather since they all redirect to Weather already |
imported>Margotbean ♫ Everyone knows it's Windy ♫ |
||
| Line 2: | Line 2: | ||
| sunny | sun = [[File:Sunny.png]] [[Weather|Sun]] | | sunny | sun = [[File:Sunny.png]] [[Weather|Sun]] | ||
| rainy | rain = [[File:Rain.png]] [[Weather|Rain]] | | rainy | rain = [[File:Rain.png]] [[Weather|Rain]] | ||
| polleny | pollen = [[File:Pollen_fall.png]] [[Weather|Pollen]]<!--it could happen--> | | polleny | pollen | wind | windy = [[File:Pollen_fall.png]] [[Weather|Pollen]]<!--it could happen--> | ||
| stormy | storm = [[File:Thunderstorm.png]] [[Weather|Storm]] | | stormy | storm = [[File:Thunderstorm.png]] [[Weather|Storm]] | ||
| snowy | snow = [[File:Snow.png]] [[Weather|Snow]] | | snowy | snow = [[File:Snow.png]] [[Weather|Snow]] | ||
| <span style="color:red">WEATHER TEMPLATE ERROR</span> | | <span style="color:red">WEATHER TEMPLATE ERROR</span> | ||
}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | }}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | ||
Revision as of 22:26, 29 January 2017
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}}