Difference between revisions of "Template:Weather inline"
Jump to navigation
Jump to search
Margotbean (talk | contribs) Tag: Undo |
Margotbean (talk | contribs) m (Reverted edits by Margotbean (talk) to last revision by Charly) Tag: Rollback |
||
Line 5: | Line 5: | ||
// All other values are synonyms | // All other values are synonyms | ||
-->{{ParseInputValues|code=weather|| | -->{{ParseInputValues|code=weather|| | ||
− | ,Any, Any, | + | ,Any, Any, All, Always, |
,Sunny, Sun, | ,Sunny, Sun, | ||
− | ,Pollen fall, Wind, | + | ,Pollen fall, Wind, Pollen, Polleny, Windy, |
− | ,Pollen spring, Wind, | + | ,Pollen spring, Wind, Springwind, |
− | ,Rain, Rain, | + | ,Rain, Rain, Rainy, |
− | ,Thunderstorm, Storm, Stormy, | + | ,Thunderstorm, Storm, Stormy, |
− | ,Snow, Snow, | + | ,Snow, Snow, Snowy, |
+ | ,Festival, Festival | ||
}}<!-- | }}<!-- | ||
// The name of the weather wiki page | // The name of the weather wiki page |
Revision as of 16:23, 28 October 2021
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 = Template:ParseInputValues[[File:Template:ParseInputValues.png|
| link=Weather| alt=]] [[Weather|Template:ParseInputValues]]
- Sun = Template:ParseInputValues[[File:Template:ParseInputValues.png|
| link=Weather| alt=]] [[Weather|Template:ParseInputValues]]
- Springwind = Template:ParseInputValues[[File:Template:ParseInputValues.png|
| link=Weather| alt=]] [[Weather|Template:ParseInputValues]]
- Fallwind = Template:ParseInputValues[[File:Template:ParseInputValues.png|
| link=Weather| alt=]] [[Weather|Template:ParseInputValues]]
- Rain = Template:ParseInputValues[[File:Template:ParseInputValues.png|
| link=Weather| alt=]] [[Weather|Template:ParseInputValues]]
- Storm = Template:ParseInputValues[[File:Template:ParseInputValues.png|
| link=Weather| alt=]] [[Weather|Template:ParseInputValues]]
- Snow = Template:ParseInputValues[[File:Template:ParseInputValues.png|
| link=Weather| alt=]] [[Weather|Template:ParseInputValues]]
- Festival = Template:ParseInputValues[[File:Template:ParseInputValues.png|
| link=Weather| alt=]] [[Weather|Template:ParseInputValues]]
Width
Specify the width in pixels, and include "px".
{{Weather inline|Snow|width=24px}}
Template:ParseInputValues[[File:Template:ParseInputValues.png|
| link=Weather| alt=]] [[Weather|Template:ParseInputValues]]