Difference between revisions of "Template:Weather inline/doc"
Jump to navigation
Jump to search
Oath2order (talk | contribs) |
Margotbean (talk | contribs) |
||
(20 intermediate revisions by 5 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. | |
− | |||
− | |||
− | |||
− | {{Weather inline| | + | ==Use== |
+ | <pre>{{Weather inline|type of weather|width (optional)}}</pre> | ||
− | {{Weather inline| | + | ==Valid Parameters== |
+ | There are 9 valid types of weather. All are case-insensitive. | ||
+ | *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". | |
− | {{Weather inline| | + | <pre>{{Weather inline|Snow|width=24px}}</pre> |
− | + | {{Weather inline|Snow|width=24px}} | |
− | {{Weather inline| | + | <includeonly>{{Addlanglinks}}[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
− | <includeonly>[[Category: |
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}}