Template:Weather inline: Difference between revisions
Appearance
imported>Margotbean Trying to get rid of an extra line-break in an infobox |
imported>Nevir No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#switch: {{lc:{{{value|{{{1|}}}}}}}} | <includeonly>{{#switch: {{lc:{{{value|{{{1|}}}}}}}} | ||
| sunny | sun = [[File:Sunny.png]] [[Weather|Sun]] | | sunny | sun = [[File:Sunny.png|link=]] [[Weather|Sun]] | ||
| rainy | rain = [[File:Rain.png]] [[Weather|Rain]] | | rainy | rain = [[File:Rain.png|link=]] [[Weather|Rain]] | ||
| polleny | pollen | wind | windy = [[File:Pollen_fall.png]] [[Weather|Wind]]<!--it could happen--> | | polleny | pollen | wind | windy = [[File:Pollen_fall.png|link=]] [[Weather|Wind]]<!--it could happen--> | ||
| stormy | storm = [[File:Thunderstorm.png]] [[Weather|Storm]] | | stormy | storm = [[File:Thunderstorm.png|link=]] [[Weather|Storm]] | ||
| snowy | snow = [[File:Snow.png]] [[Weather|Snow]] | | snowy | snow = [[File:Snow.png|link=]] [[Weather|Snow]] | ||
| #default = <span style="color:red">WEATHER TEMPLATE ERROR</span>}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | | #default = <span style="color:red">WEATHER TEMPLATE ERROR</span>}}</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | ||
Revision as of 21:16, 7 June 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.
- All / Any = WEATHER TEMPLATE ERROR
- Sun =
Sun - Springwind = WEATHER TEMPLATE ERROR
- 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}}