Difference between revisions of "Template:Weather inline"
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#switch: {{{value}}} | sunny = border Sunny | rain = border Rain | pollen = File:Pollen_fall.png|border...") |
BryghtShadow (talk | contribs) (allow {{{1}}} to be used (eventually, maybe make {{{value}}} deprecated?). template is now case-insensitive.) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#switch: {{{value}}} | + | <includeonly>{{#switch: {{lc:{{{value|{{{1|}}}}}}}} |
| sunny = [[File:Sunny.png|border]] [[Sunny]] | | sunny = [[File:Sunny.png|border]] [[Sunny]] | ||
| rain = [[File:Rain.png|border]] [[Rain]] | | rain = [[File:Rain.png|border]] [[Rain]] |
Revision as of 09:48, 19 October 2016
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.
Width
Specify the width in pixels, and include "px".
{{Weather inline|Snow|width=24px}}