Difference between revisions of "Template:Weather inline"
Margotbean (talk | contribs) (removed border since images are now 16x16) |
Margotbean (talk | contribs) (update) |
||
(17 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]] |
− | | rain = [[File:Rain.png]] [[Rain]] | + | |sun = [[File:Sunny.png|{{{width|16px}}}|link=]] [[Weather|Sun]] |
− | | | + | |springwind = [[File:Pollen spring.png|{{{width|16px}}}|link=]] [[Weather|Wind]] |
− | | storm = [[File:Thunderstorm.png]] [[Storm]] | + | |rain = [[File:Rain.png|{{{width|16px}}}|link=]] [[Weather|Rain]] |
− | | snow = [[File:Snow.png]] [[Snow]] | + | |festival = [[File:Festival.png|{{{width|16px}}}|link=]] [[Festivals|Festival]] |
− | | | + | |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}}