Difference between revisions of "Template:Weather inline/doc"
Jump to navigation
Jump to search
Margotbean (talk | contribs) m (Text replacement - "{{Weather inline|Snowy}}" to "{{Weather inline|Snow}}") |
Margotbean (talk | contribs) (update) |
||
Line 1: | Line 1: | ||
− | + | ==Description== | |
− | + | This template displays the icon for the type of weather, plus a link to the associated wiki page. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Use== | ==Use== | ||
+ | <pre>{{Weather inline|type of weather|width (optional)}}</pre> | ||
− | + | ==Valid Parameters== | |
− | + | There are 9 valid types of weather. All are case-insensitive. | |
− | *{{Weather inline| | + | *All / Any = {{Weather inline|All}} |
− | *{{Weather inline| | + | *Sun = {{Weather inline|Sun}} |
− | *{{Weather inline| | + | *Springwind = {{Weather inline|Springwind}} |
− | *{{Weather inline| | + | *Fallwind = {{Weather inline|Fallwind}} |
− | *{{Weather inline| | + | *Rain = {{Weather inline|Rain}} |
− | + | *Storm = {{Weather inline|Storm}} | |
− | *{{Weather inline| | + | *Snow = {{Weather inline|Snow}} |
− | + | *Festival = {{Weather inline|Festival}} | |
− | |||
− | |||
− | |||
− | *{{Weather inline|Snow}} | ||
− | *{{Weather inline|Festival}} | ||
− | <pre>{{Weather inline| | + | ==Width== |
− | {{Weather inline| | + | Specify the width in pixels, and include "px". |
+ | <pre>{{Weather inline|Snow|width=24px}}</pre> | ||
+ | {{Weather inline|Snow|width=24px}} | ||
<includeonly>[[Category:Formatting templates]]{{Addlanglinks}}</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Formatting templates]]{{Addlanglinks}}</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 18:52, 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}}