Difference between revisions of "Template:Weather inline/doc"
Margotbean (talk | contribs) (added more examples) |
Margotbean (talk | contribs) |
||
(18 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | == | + | ==Description== |
− | + | This template displays the icon for the type of weather, plus a link to the associated wiki page. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ==Use== | |
− | + | <pre>{{Weather inline|type of weather|width (optional)}}</pre> | |
− | |||
− | |||
− | |||
− | + | ==Valid Parameters== | |
− | {{Weather inline| | + | There are 9 valid types of weather. All are case-insensitive. |
− | <includeonly>[[Category: | + | *All / Any = {{Weather inline|All}} |
+ | *Sun = {{Weather inline|Sun}} | ||
+ | *Springwind = {{Weather inline|Springwind}} | ||
+ | *Fallwind = {{Weather inline|Fallwind}} | ||
+ | *Rain = {{Weather inline|Rain}} | ||
+ | *Storm = {{Weather inline|Storm}} | ||
+ | *Snow = {{Weather inline|Snow}} | ||
+ | *Festival = {{Weather inline|Festival}} | ||
+ | |||
+ | ==Width== | ||
+ | Specify the width in pixels, and include "px". | ||
+ | <pre>{{Weather inline|Snow|width=24px}}</pre> | ||
+ | {{Weather inline|Snow|width=24px}} | ||
+ | <includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 21:24, 8 January 2023
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}}