Template:Weather inline: Difference between revisions
Appearance
imported>Margotbean Trying to get rid of an extra line-break in an infobox |
imported>Margotbean update |
||
| (13 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#switch: {{lc: | <includeonly><span style="display:inline; margin-right:0; white-space: nowrap;">{{#switch: {{lc:{{{1}}}}} | ||
| | |all|any = [[Weather|Any]] | ||
| | |sun = [[File:Sunny.png|{{{width|16px}}}|link=]] [[Weather|Sun]] | ||
| | |springwind = [[File:Pollen spring.png|{{{width|16px}}}|link=]] [[Weather|Wind]] | ||
|rain = [[File:Rain.png|{{{width|16px}}}|link=]] [[Weather|Rain]] | |||
|festival = [[File:Festival.png|{{{width|16px}}}|link=]] [[Festivals|Festival]] | |||
| #default = | |fallwind = [[File:Pollen fall.png|{{{width|16px}}}|link=]] [[Weather|Wind]] | ||
|storm = [[File:Thunderstorm.png|{{{width|16px}}}|link=]] [[Weather|Storm]] | |||
|snow = [[File:Snow.png|{{{width|16px}}}|link=]] [[Weather|Snow]] | |||
|#default = {{ucfirst:{{{1|}}} }} | |||
}}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | |||
Latest revision as of 18:50, 18 May 2022
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 = Any
- Sun =
Sun - Springwind =
Wind - Fallwind =
Wind - Rain =
Rain - Storm =
Storm - Snow =
Snow - Festival =
Festival
Width
Specify the width in pixels, and include "px".
{{Weather inline|Snow|width=24px}}