Rita (Arrested Development) and Template talk:Weather box: Difference between pages
fixing double redirect |
MJCdetroit (talk | contribs) →Precipitation unit change: What is the U.S. gov website? |
||
Line 1: | Line 1: | ||
==Examples== |
|||
#REDIRECT [[List of Arrested Development characters]] |
|||
{{Infobox Weather |
|||
|location = Example City |
|||
|Jan_Hi_°F = x |
|||
|Feb_Hi_°F = x |
|||
|Mar_Hi_°F = x |
|||
|Apr_Hi_°F = x |
|||
|May_Hi_°F = x |
|||
|Jun_Hi_°F = x |
|||
|Jul_Hi_°F = x |
|||
|Aug_Hi_°F =x |
|||
|Sep_Hi_°F =x |
|||
|Oct_Hi_°F = x |
|||
|Nov_Hi_°F =x |
|||
|Dec_Hi_°F =x |
|||
|Year_Hi_°F = x |
|||
|Jan_Hi_°C = x |
|||
|Feb_Hi_°C = x |
|||
|Mar_Hi_°C = x |
|||
|Apr_Hi_°C = x |
|||
|May_Hi_°C = x |
|||
|Jun_Hi_°C = x |
|||
|Jul_Hi_°C = x |
|||
|Aug_Hi_°C = x |
|||
|Sep_Hi_°C = x |
|||
|Oct_Hi_°C = x |
|||
|Nov_Hi_°C = x |
|||
|Dec_Hi_°C = x |
|||
|Year_Hi_°C = x |
|||
|Jan_Lo_°F = x |
|||
|Feb_Lo_°F = x |
|||
|Mar_Lo_°F = x |
|||
|Apr_Lo_°F = x |
|||
|May_Lo_°F = x |
|||
|Jun_Lo_°F =x |
|||
|Jul_Lo_°F =x |
|||
|Aug_Lo_°F =x |
|||
|Sep_Lo_°F =x |
|||
|Oct_Lo_°F =x |
|||
|Nov_Lo_°F =x |
|||
|Dec_Lo_°F =x |
|||
|Year_Lo_°F =x |
|||
|Jan_Lo_°C = x |
|||
|Feb_Lo_°C = x |
|||
|Mar_Lo_°C = x |
|||
|Apr_Lo_°C = x |
|||
|May_Lo_°C = x |
|||
|Jun_Lo_°C =x |
|||
|Jul_Lo_°C =x |
|||
|Aug_Lo_°C =x |
|||
|Sep_Lo_°C =x |
|||
|Oct_Lo_°C =x |
|||
|Nov_Lo_°C =x |
|||
|Dec_Lo_°C =x |
|||
|Year_Lo_°C =x |
|||
|Jan_Precip_inch = x |
|||
|Feb_Precip_inch = x |
|||
|Mar_Precip_inch = x |
|||
|Apr_Precip_inch = x |
|||
|May_Precip_inch =x |
|||
|Jun_Precip_inch =x |
|||
|Jul_Precip_inch =x |
|||
|Aug_Precip_inch =x |
|||
|Sep_Precip_inch =x |
|||
|Oct_Precip_inch =x |
|||
|Nov_Precip_inch =x |
|||
|Dec_Precip_inch =x |
|||
|Year_Precip_inch =x |
|||
|Jan_Precip_cm = x |Jan_Precip_mm = |
|||
|Feb_Precip_cm = x |Feb_Precip_mm = |
|||
|Mar_Precip_cm = x |Mar_Precip_mm = |
|||
|Apr_Precip_cm = x |Apr_Precip_mm = |
|||
|May_Precip_cm = x |May_Precip_mm = |
|||
|Jun_Precip_cm = x |Jun_Precip_mm = |
|||
|Jul_Precip_cm = x |Jul_Precip_mm = |
|||
|Aug_Precip_cm = x |Aug_Precip_mm = |
|||
|Sep_Precip_cm = x |Sep_Precip_mm = |
|||
|Oct_Precip_cm = x |Oct_Precip_mm = |
|||
|Nov_Precip_cm = x |Nov_Precip_mm = |
|||
|Dec_Precip_cm = x |Dec_Precip_mm = |
|||
|Year_Precip_cm = x |Year_Precip_mm = |
|||
|source = Weatherbase <ref name= >{{cite web |
|||
| url =http://www.weatherbase.com| title = Example City Weather | accessdate = | accessmonthday = | accessyear = | author = | last = | first = | date = | year = | month = | publisher = | language = }}</ref> |
|||
|accessdate = Jan 2006 |
|||
}} |
|||
===Code to produce the above box with editors notes on use=== |
|||
<div style="width:100%; float:left;"><pre> |
|||
{{Infobox Weather <!-- This was created with weatherbase.com in mind as the source, but --> |
|||
|metric_first = <!--Entering Yes or True will swap unit order to metric first then Imperial --> |
|||
<!--Leave blank for Imperial--> |
|||
|location = Example City <!-- any source can be used.--> |
|||
|Jan_Hi_°F = x |
|||
|Feb_Hi_°F = x <!--ALL fields must be filled in. Exception = built in {{cite web}} below. --> |
|||
|Mar_Hi_°F = x |
|||
|Apr_Hi_°F = x <!--If only Imperial/English units are available, you must convert to metric |
|||
|May_Hi_°F = x (either cm or mm) and enter where needed--> |
|||
|Jun_Hi_°F = x |
|||
|Jul_Hi_°F = x <!--If only SI/metric units are available, you must also convert to Imperial |
|||
|Aug_Hi_°F =x units and enter where needed.--> |
|||
|Sep_Hi_°F =x |
|||
|Oct_Hi_°F =x <!-- www.weatherbase.com gives global weather info in both Imperial and metric.--> |
|||
|Nov_Hi_°F =x |
|||
|Dec_Hi_°F =x |
|||
|Year_Hi_°F = x |
|||
|Jan_Hi_°C = x |
|||
|Feb_Hi_°C = x |
|||
|Mar_Hi_°C = x |
|||
|Apr_Hi_°C = x |
|||
|May_Hi_°C = x |
|||
|Jun_Hi_°C = x |
|||
|Jul_Hi_°C = x |
|||
|Aug_Hi_°C = x |
|||
|Sep_Hi_°C = x |
|||
|Oct_Hi_°C = x |
|||
|Nov_Hi_°C = x |
|||
|Dec_Hi_°C = x |
|||
|Year_Hi_°C = x |
|||
|Jan_Lo_°F = x |
|||
|Feb_Lo_°F = x |
|||
|Mar_Lo_°F = x |
|||
|Apr_Lo_°F = x |
|||
|May_Lo_°F = x |
|||
|Jun_Lo_°F =x |
|||
|Jul_Lo_°F =x |
|||
|Aug_Lo_°F =x |
|||
|Sep_Lo_°F =x |
|||
|Oct_Lo_°F =x |
|||
|Nov_Lo_°F =x |
|||
|Dec_Lo_°F =x |
|||
|Year_Lo_°F =x |
|||
|Jan_Lo_°C = x |
|||
|Feb_Lo_°C = x |
|||
|Mar_Lo_°C = x |
|||
|Apr_Lo_°C = x |
|||
|May_Lo_°C = x |
|||
|Jun_Lo_°C =x |
|||
|Jul_Lo_°C =x |
|||
|Aug_Lo_°C =x |
|||
|Sep_Lo_°C =x |
|||
|Oct_Lo_°C =x |
|||
|Nov_Lo_°C =x |
|||
|Dec_Lo_°C =x |
|||
|Year_Lo_°C =x |
|||
|Jan_Precip_inch = x |
|||
|Feb_Precip_inch = x |
|||
|Mar_Precip_inch = x |
|||
|Apr_Precip_inch = x |
|||
|May_Precip_inch =x |
|||
|Jun_Precip_inch =x |
|||
|Jul_Precip_inch =x |
|||
|Aug_Precip_inch =x |
|||
|Sep_Precip_inch =x |
|||
|Oct_Precip_inch =x |
|||
|Nov_Precip_inch =x |
|||
|Dec_Precip_inch =x |
|||
|Year_Precip_inch =x |
|||
<!--This is in CENTImetres not MILLImetres.--> |
|||
<!--If the source uses mm be sure to enter the values in the mm fields.--> |
|||
<!--If the source is metric be sure to use the unit that the source reports --> |
|||
|Jan_Precip_cm = x |Jan_Precip_mm = |
|||
|Feb_Precip_cm = x |Feb_Precip_mm = |
|||
|Mar_Precip_cm = x |Mar_Precip_mm = |
|||
|Apr_Precip_cm = x |Apr_Precip_mm = |
|||
|May_Precip_cm = x |May_Precip_mm = |
|||
|Jun_Precip_cm = x |Jun_Precip_mm = |
|||
|Jul_Precip_cm = x |Jul_Precip_mm = |
|||
|Aug_Precip_cm = x |Aug_Precip_mm = |
|||
|Sep_Precip_cm = x |Sep_Precip_mm = |
|||
|Oct_Precip_cm = x |Oct_Precip_mm = |
|||
|Nov_Precip_cm = x |Nov_Precip_mm = |
|||
|Dec_Precip_cm = x |Dec_Precip_mm = |
|||
|Year_Precip_cm = x |Year_Precip_mm = |
|||
|source = Weatherbook <ref name= >{{cite web <!--BUILT in ref name and cite web.--> |
|||
| url =http://www.weatherbase.com| title = |
|||
| accessdate = | accessmonthday = | accessyear = |
|||
| author = | last = | first = |
|||
| date = | year = | month = | publisher = | language = }}</ref> |
|||
|accessdate = Jan 2006 <!--accessdate that shows in weatherbox--> |
|||
}}</pre></div> |
|||
<br> |
|||
<br> |
|||
==Unit order== |
|||
|metric_first = Yes |
|||
This will swap the unit order to metric first then Imperial. See [[Montreal]] for an example. |
|||
<s>[[:Template:Infobox Weather metric]]</s>, for the same box but with metric listed first. <small>—The preceding [[Wikipedia:Sign your posts on talk pages|unsigned]] comment was added by [[User:CambridgeBayWeather|CambridgeBayWeather]] ([[User talk:CambridgeBayWeather|talk]] • [[Special:Contributions/CambridgeBayWeather|contribs]]) 11:45, 13 December 2006 (UTC).</small><!-- HagermanBot Auto-Unsigned --> |
|||
:In order to maintain just one standard infobox, I have added the metric first option. By entering '''Yes''' this will swap the order of the units to well metric first. —[[User:MJCdetroit|MJCdetroit]] 15:29, 13 December 2006 (UTC) |
|||
==Comments== |
|||
It looks good and the weatherbase source looks good as well. It appears that they are using [http://www.climate.weatheroffice.ec.gc.ca/climate_normals/results_e.html?Province=ALL&StationName=Toronto&SearchType=BeginsWith&LocateBy=Province&Proximity=25&ProximityFrom=City&StationNumber=&IDType=MSC&CityName=&ParkName=&LatitudeDegrees=&LatitudeMinutes=&LongitudeDegrees=&LongitudeMinutes=&NormalsClass=A&SelNormals=&StnId=5097& Toronto/Pearson Airport at Environment Canada] as the source. I wonder if people would be interested in the maximum/minimums for the town as well? [[User:CambridgeBayWeather|CambridgeBayWeather]] [[User_talk:CambridgeBayWeather|(Talk)]] 03:17, 6 November 2006 (UTC) |
|||
:I don't know. They can always be optional for a town. Where editors may want an expanded version for say an article that was specifically about the climate of a location. In any case thanks. —[[User:MJCdetroit|MJCdetroit]] 03:46, 6 November 2006 (UTC) |
|||
==Precipitation unit change== |
|||
I think the units should change from cm to mm. Total precipitation is always in mm; only snowfall is listed in cm because it takes 10 times as much snow to equal the same amount of rainfall but total precipitation is always in mm. Making this change will make the infobox more consistent within the articles they are placed within. With millimetres you also avoid the decimal point- so no fractions making it easier to read and it is preferred to have units in multiples of 1000 (ie mm, m, km etc.). [[User:Samy23|Samy23]] 03:02, 16 December 2006 (UTC) |
|||
:I debated this when I developed this template. I even mentationed it to [[User:CambridgeBayWeather]] a few days ago . I settled with centimetres because the main website that I kept seeing used with this type of table was [http://www.weatherbase.com www.weatherbase.com] and they used cm. However, I think that I am going to expand this template in the future to include an option for having millimetres displayed if the that's what the source unit is. It will take some time to put together because it would have to be able to display mm '''or''' cm but not both. —[[User:MJCdetroit|MJCdetroit]] 04:53, 16 December 2006 (UTC) |
|||
Yes having both cm and mm would indeed be a bad idea but as you can see most articles have -total- precipitation listed as mm. [[User:Samy23|Samy23]] 00:52, 17 December 2006 (UTC) |
|||
:I'll see what I can do. It will probably be at least a week or two if not more. —[[User:MJCdetroit|MJCdetroit]] 04:46, 17 December 2006 (UTC) |
|||
:Done. It was easier than I thought. Now there is the option to report in whatever metric unit (cm or mm) the source reports without converting. If you enter a value for Jan_Precip_mm, then all precipitation values must be in millimeters. The reverse in regards to centimeters is also true. That way it is either millimeters (mm) or centimeters (cm), but not both. Just as the manual of style states please use the source's reported unit. If the source reports in centimeters please report centimeters in the infobox and don't convert to millimeters. —[[User:MJCdetroit|MJCdetroit]] 02:09, 18 December 2006 (UTC) |
|||
::Because [[Toronto#Climate|Toronto's]] source was in millimeters I changed that weatherbox. Please see that acticle for an example. —[[User:MJCdetroit|MJCdetroit]] 02:37, 18 December 2006 (UTC) |
|||
:::It looks good. Should have thought about that myself. Slight correction though Samy23, there will still be the decimal point with mm. Quoting from MANOBS "3.7.2 Unit of Measurement. The millimetre is the unit of measurement of liquid precipitation. The vertical depth of water or water equivalent is normally expressed to the nearest 0.2mm." I think that most countries report/record in mm. If you go to the US Govt. weather site, precpitation shows up in inches but if you click on metric you get mm. [[User:CambridgeBayWeather|CambridgeBayWeather]] [[User_talk:CambridgeBayWeather|(Talk)]] 04:11, 18 December 2006 (UTC) |
|||
::::What is the US government's weather website? The one that I found I wasn't very impressed with it. Just wondering. —[[User:MJCdetroit|MJCdetroit]] 16:32, 18 December 2006 (UTC) |
Revision as of 16:32, 18 December 2006
Examples
Climate data for Example City | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Month | Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | Year |
Source: Weatherbase [1] |
Code to produce the above box with editors notes on use
{{Infobox Weather <!-- This was created with weatherbase.com in mind as the source, but --> |metric_first = <!--Entering Yes or True will swap unit order to metric first then Imperial --> <!--Leave blank for Imperial--> |location = Example City <!-- any source can be used.--> |Jan_Hi_°F = x |Feb_Hi_°F = x <!--ALL fields must be filled in. Exception = built in {{cite web}} below. --> |Mar_Hi_°F = x |Apr_Hi_°F = x <!--If only Imperial/English units are available, you must convert to metric |May_Hi_°F = x (either cm or mm) and enter where needed--> |Jun_Hi_°F = x |Jul_Hi_°F = x <!--If only SI/metric units are available, you must also convert to Imperial |Aug_Hi_°F =x units and enter where needed.--> |Sep_Hi_°F =x |Oct_Hi_°F =x <!-- www.weatherbase.com gives global weather info in both Imperial and metric.--> |Nov_Hi_°F =x |Dec_Hi_°F =x |Year_Hi_°F = x |Jan_Hi_°C = x |Feb_Hi_°C = x |Mar_Hi_°C = x |Apr_Hi_°C = x |May_Hi_°C = x |Jun_Hi_°C = x |Jul_Hi_°C = x |Aug_Hi_°C = x |Sep_Hi_°C = x |Oct_Hi_°C = x |Nov_Hi_°C = x |Dec_Hi_°C = x |Year_Hi_°C = x |Jan_Lo_°F = x |Feb_Lo_°F = x |Mar_Lo_°F = x |Apr_Lo_°F = x |May_Lo_°F = x |Jun_Lo_°F =x |Jul_Lo_°F =x |Aug_Lo_°F =x |Sep_Lo_°F =x |Oct_Lo_°F =x |Nov_Lo_°F =x |Dec_Lo_°F =x |Year_Lo_°F =x |Jan_Lo_°C = x |Feb_Lo_°C = x |Mar_Lo_°C = x |Apr_Lo_°C = x |May_Lo_°C = x |Jun_Lo_°C =x |Jul_Lo_°C =x |Aug_Lo_°C =x |Sep_Lo_°C =x |Oct_Lo_°C =x |Nov_Lo_°C =x |Dec_Lo_°C =x |Year_Lo_°C =x |Jan_Precip_inch = x |Feb_Precip_inch = x |Mar_Precip_inch = x |Apr_Precip_inch = x |May_Precip_inch =x |Jun_Precip_inch =x |Jul_Precip_inch =x |Aug_Precip_inch =x |Sep_Precip_inch =x |Oct_Precip_inch =x |Nov_Precip_inch =x |Dec_Precip_inch =x |Year_Precip_inch =x <!--This is in CENTImetres not MILLImetres.--> <!--If the source uses mm be sure to enter the values in the mm fields.--> <!--If the source is metric be sure to use the unit that the source reports --> |Jan_Precip_cm = x |Jan_Precip_mm = |Feb_Precip_cm = x |Feb_Precip_mm = |Mar_Precip_cm = x |Mar_Precip_mm = |Apr_Precip_cm = x |Apr_Precip_mm = |May_Precip_cm = x |May_Precip_mm = |Jun_Precip_cm = x |Jun_Precip_mm = |Jul_Precip_cm = x |Jul_Precip_mm = |Aug_Precip_cm = x |Aug_Precip_mm = |Sep_Precip_cm = x |Sep_Precip_mm = |Oct_Precip_cm = x |Oct_Precip_mm = |Nov_Precip_cm = x |Nov_Precip_mm = |Dec_Precip_cm = x |Dec_Precip_mm = |Year_Precip_cm = x |Year_Precip_mm = |source = Weatherbook <ref name= >{{cite web <!--BUILT in ref name and cite web.--> | url =http://www.weatherbase.com| title = | accessdate = | accessmonthday = | accessyear = | author = | last = | first = | date = | year = | month = | publisher = | language = }}</ref> |accessdate = Jan 2006 <!--accessdate that shows in weatherbox--> }}
Unit order
|metric_first = Yes
This will swap the unit order to metric first then Imperial. See Montreal for an example.
Template:Infobox Weather metric, for the same box but with metric listed first. —The preceding unsigned comment was added by CambridgeBayWeather (talk • contribs) 11:45, 13 December 2006 (UTC).
- In order to maintain just one standard infobox, I have added the metric first option. By entering Yes this will swap the order of the units to well metric first. —MJCdetroit 15:29, 13 December 2006 (UTC)
Comments
It looks good and the weatherbase source looks good as well. It appears that they are using Toronto/Pearson Airport at Environment Canada as the source. I wonder if people would be interested in the maximum/minimums for the town as well? CambridgeBayWeather (Talk) 03:17, 6 November 2006 (UTC)
- I don't know. They can always be optional for a town. Where editors may want an expanded version for say an article that was specifically about the climate of a location. In any case thanks. —MJCdetroit 03:46, 6 November 2006 (UTC)
Precipitation unit change
I think the units should change from cm to mm. Total precipitation is always in mm; only snowfall is listed in cm because it takes 10 times as much snow to equal the same amount of rainfall but total precipitation is always in mm. Making this change will make the infobox more consistent within the articles they are placed within. With millimetres you also avoid the decimal point- so no fractions making it easier to read and it is preferred to have units in multiples of 1000 (ie mm, m, km etc.). Samy23 03:02, 16 December 2006 (UTC)
- I debated this when I developed this template. I even mentationed it to User:CambridgeBayWeather a few days ago . I settled with centimetres because the main website that I kept seeing used with this type of table was www.weatherbase.com and they used cm. However, I think that I am going to expand this template in the future to include an option for having millimetres displayed if the that's what the source unit is. It will take some time to put together because it would have to be able to display mm or cm but not both. —MJCdetroit 04:53, 16 December 2006 (UTC)
Yes having both cm and mm would indeed be a bad idea but as you can see most articles have -total- precipitation listed as mm. Samy23 00:52, 17 December 2006 (UTC)
- I'll see what I can do. It will probably be at least a week or two if not more. —MJCdetroit 04:46, 17 December 2006 (UTC)
- Done. It was easier than I thought. Now there is the option to report in whatever metric unit (cm or mm) the source reports without converting. If you enter a value for Jan_Precip_mm, then all precipitation values must be in millimeters. The reverse in regards to centimeters is also true. That way it is either millimeters (mm) or centimeters (cm), but not both. Just as the manual of style states please use the source's reported unit. If the source reports in centimeters please report centimeters in the infobox and don't convert to millimeters. —MJCdetroit 02:09, 18 December 2006 (UTC)
- Because Toronto's source was in millimeters I changed that weatherbox. Please see that acticle for an example. —MJCdetroit 02:37, 18 December 2006 (UTC)
- It looks good. Should have thought about that myself. Slight correction though Samy23, there will still be the decimal point with mm. Quoting from MANOBS "3.7.2 Unit of Measurement. The millimetre is the unit of measurement of liquid precipitation. The vertical depth of water or water equivalent is normally expressed to the nearest 0.2mm." I think that most countries report/record in mm. If you go to the US Govt. weather site, precpitation shows up in inches but if you click on metric you get mm. CambridgeBayWeather (Talk) 04:11, 18 December 2006 (UTC)
- What is the US government's weather website? The one that I found I wasn't very impressed with it. Just wondering. —MJCdetroit 16:32, 18 December 2006 (UTC)
- It looks good. Should have thought about that myself. Slight correction though Samy23, there will still be the decimal point with mm. Quoting from MANOBS "3.7.2 Unit of Measurement. The millimetre is the unit of measurement of liquid precipitation. The vertical depth of water or water equivalent is normally expressed to the nearest 0.2mm." I think that most countries report/record in mm. If you go to the US Govt. weather site, precpitation shows up in inches but if you click on metric you get mm. CambridgeBayWeather (Talk) 04:11, 18 December 2006 (UTC)
- ^ "Example City Weather".
{{cite web}}
: Cite has empty unknown parameters:|accessyear=
,|accessmonthday=
, and|month=
(help)