Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Humanipedia
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module:Weather/doc
(section)
Module
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Testing == The function <code>show</code> provides a way to test the color schemes. It generates a graph of how the red, green, and blue portions of the color vary with temperature, and a table of the full range of temperatures in Β°C. '''Optional parameters''' *Two unnamed parameters may be entered to specify the first and last Celsius temperatures (<code>|-90|59</code> by default). *The palette can be specified with <code>|palette=</code>''name'' as above. The following codes produce the same result: * <code><nowiki>{{#invoke:weather|show}}</nowiki></code> * <code><nowiki>{{#invoke:weather|show|palette=cool}}</nowiki></code> {{#invoke:weather|show|palette=cool}} Modified palette: * <code><nowiki>{{#invoke:weather|show|palette=cool2}}</nowiki></code> {{#invoke:weather|show|palette=cool2}} This modified palette is intended for average temperatures. It results in good colors between the extreme highest average monthly temperature of {{convert|+39|C}} in [[Death Valley]], California, and {{convert|-68|C}}, the extreme lowest average monthly temperature at [[Vostok Station]], at a high elevation on the Antarctic ice sheet. These are the highest and lowest known ''average'' temperatures recorded on Earth, not to be confused with the highest and lowest records, which are quite a bit hotter and colder. * <code><nowiki>{{#invoke:weather|show|palette=cool2avg}}</nowiki></code> {{#invoke:weather|show|palette=cool2avg}}
Summary:
Please note that all contributions to Humanipedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Humanipedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)