Difference between revisions of "Template:Weather inline"
Jump to navigation
Jump to search
m (fix link) |
Margotbean (talk | contribs) (update) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>< | + | <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]] | |
− | + | |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> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{{{FULLPAGENAME}}/doc |
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}}