Template:Weather inline/doc: Difference between revisions
Appearance
imported>Margotbean m Text replacement - "''e.g.''," to "''e.g.,''" |
imported>Margotbean No edit summary |
||
| (5 intermediate revisions by the same user 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== | ==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}} | ||
*{{Weather inline| | *Festival = {{Weather inline|Festival}} | ||
*{{Weather inline|Festival}} | |||
<pre>{{Weather inline| | ==Width== | ||
{{Weather inline| | Specify the width in pixels, and include "px". | ||
<includeonly>[[Category: | <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}}