Help Wikitravel grow by contributing to an article! Learn how.
New users, please see Help or go to the Pub to ask questions.

Difference between revisions of "Template:Climate"

From Wikitravel
Jump to: navigation, search
(toning the orange down a little more, #e85801)
(remove two unnecessary carriage returns that were causing additional white spaces to appear in articles! Don't revert but rather discuss on this template's discussion page if you really think we need the weird additional carriage returns!)
(21 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<noinclude>'''Template:Climate''' formats simple climate info. Give it Metric or Imperial units of measure depending which is appropriate for the location you describe. Usage notes are on the [[Template talk:Climate|talk page]]. This is part of '''[[Wikitravel:Climate Expedition]]'''. [[Template:ClimateCelsius]] or [[Template:ClimateFahrenheit]] are also nice.
+
<noinclude>'''Template:Climate''' formats simple climate info. Give it Metric or Imperial units of measure depending which is appropriate for the location you describe.
</noinclude>
+
 
{| border="0" cellpadding="1" cellspacing="1" style="width:30em; margin:1em; padding:0.5em; text-align:right; font-size:80%; border:1px solid #000000; float:right; background:#f3f3ff"
+
'''Usage''' and copy-and-paste wiki markup to use this template are on the [[Template talk:Climate|talk page]].
 +
 
 +
Part of '''[[Wikitravel:Climate Expedition]]'''. [[Template:ClimateCelsius]] or [[Template:ClimateFahrenheit]] are also nice.
 +
</noinclude>{| id="climate_table" border="0" cellpadding="1" cellspacing="1" style="width:30em; margin:1em; padding:0.5em; text-align:center; font-size:80%; border:1px solid #000000; float:right; background:#f3f3ff; white-space:nowrap;"
 
!width="100" style="text-align:left; font-size:120%; background: #ECECEC"|Climate
 
!width="100" style="text-align:left; font-size:120%; background: #ECECEC"|Climate
!width="25" style="text-align:right; background: #ECECEC"|Jan
+
!width="25" style="background: #ECECEC"|Jan
!width="25" style="text-align:right; background: #ECECEC"|Feb
+
!width="25" style="background: #ECECEC"|Feb
!width="25" style="text-align:right; background: #ECECEC"|Mar
+
!width="25" style="background: #ECECEC"|Mar
!width="25" style="text-align:right; background: #ECECEC"|Apr
+
!width="25" style="background: #ECECEC"|Apr
!width="25" style="text-align:right; background: #ECECEC"|May
+
!width="25" style="background: #ECECEC"|May
!width="25" style="text-align:right; background: #ECECEC"|Jun
+
!width="25" style="background: #ECECEC"|Jun
!width="25" style="text-align:right; background: #ECECEC"|Jul
+
!width="25" style="background: #ECECEC"|Jul
!width="25" style="text-align:right; background: #ECECEC"|Aug
+
!width="25" style="background: #ECECEC"|Aug
!width="25" style="text-align:right; background: #ECECEC"|Sep
+
!width="25" style="background: #ECECEC"|Sep
!width="25" style="text-align:right; background: #ECECEC"|Oct
+
!width="25" style="background: #ECECEC"|Oct
!width="25" style="text-align:right; background: #ECECEC"|Nov
+
!width="25" style="background: #ECECEC"|Nov
!width="25" style="text-align:right; background: #ECECEC"|Dec
+
!width="25" style="background: #ECECEC"|Dec
 
|- style="color:#e85801;"
 
|- style="color:#e85801;"
|{{#if:
+
| style="text-align:left" | {{#if:
 
   {{{janhigh|}}}
 
   {{{janhigh|}}}
 
   {{{febhigh|}}}
 
   {{{febhigh|}}}
Line 29: Line 32:
 
   {{{novhigh|}}}
 
   {{{novhigh|}}}
 
   {{{dechigh|}}}
 
   {{{dechigh|}}}
   | High {{#ifeq:{{lc:{{{units|}}}}}|metric|(°C)|(°F)}} |}}
+
   | Daily highs [[Metric and Imperial equivalents|{{#ifeq:{{lc:{{{units|}}}}}|metric|(°C)|(°F)}}]] |}}
 
| {{{janhigh|}}} || {{{febhigh|}}} || {{{marhigh|}}} || {{{aprhigh|}}} || {{{mayhigh|}}} || {{{junhigh|}}} || {{{julhigh|}}} || {{{aughigh|}}} || {{{sephigh|}}} || {{{octhigh|}}} || {{{novhigh|}}} || {{{dechigh|}}}
 
| {{{janhigh|}}} || {{{febhigh|}}} || {{{marhigh|}}} || {{{aprhigh|}}} || {{{mayhigh|}}} || {{{junhigh|}}} || {{{julhigh|}}} || {{{aughigh|}}} || {{{sephigh|}}} || {{{octhigh|}}} || {{{novhigh|}}} || {{{dechigh|}}}
|- style="color:#4764ac; line-height:40%;"
+
|- style="color:#348840; line-height:40%;"
|{{#if:
+
| style="text-align:left" | {{#if:
 
   {{{janlow|}}}
 
   {{{janlow|}}}
 
   {{{feblow|}}}
 
   {{{feblow|}}}
Line 45: Line 48:
 
   {{{novlow|}}}
 
   {{{novlow|}}}
 
   {{{declow|}}}
 
   {{{declow|}}}
   | Low {{#ifeq:{{lc:{{{units|}}}}}|metric|(°C)|(°F)}} |}}
+
   | Nightly lows [[Metric and Imperial equivalents|{{#ifeq:{{lc:{{{units|}}}}}|metric|(°C)|(°F)}}]] |}}
 
| {{{janlow|}}} || {{{feblow|}}} || {{{marlow|}}} || {{{aprlow|}}} || {{{maylow|}}} || {{{junlow|}}} || {{{jullow|}}} || {{{auglow|}}} || {{{seplow|}}} || {{{octlow|}}} || {{{novlow|}}} || {{{declow|}}}
 
| {{{janlow|}}} || {{{feblow|}}} || {{{marlow|}}} || {{{aprlow|}}} || {{{maylow|}}} || {{{junlow|}}} || {{{jullow|}}} || {{{auglow|}}} || {{{seplow|}}} || {{{octlow|}}} || {{{novlow|}}} || {{{declow|}}}
 
|- style="white-space:nowrap"
 
|- style="white-space:nowrap"
|{{#if:
+
| style="text-align:left" | {{#if:
 
   {{{janprecip|}}}
 
   {{{janprecip|}}}
 
   {{{febprecip|}}}
 
   {{{febprecip|}}}
Line 61: Line 64:
 
   {{{novprecip|}}}
 
   {{{novprecip|}}}
 
   {{{decprecip|}}}
 
   {{{decprecip|}}}
   | Precipitation {{#ifeq:{{lc:{{{units|}}}}}|metric|(cm)|(in)}} |}}
+
   | Precipitation [[Metric and Imperial equivalents|{{#ifeq:{{lc:{{{units|}}}}}|metric|(mm)|(in)}}]] |}}
 
| {{{janprecip|}}} || {{{febprecip|}}} || {{{marprecip|}}} || {{{aprprecip|}}} || {{{mayprecip|}}} || {{{junprecip|}}} || {{{julprecip|}}} || {{{augprecip|}}} || {{{sepprecip|}}} || {{{octprecip|}}} || {{{novprecip|}}} || {{{decprecip|}}}
 
| {{{janprecip|}}} || {{{febprecip|}}} || {{{marprecip|}}} || {{{aprprecip|}}} || {{{mayprecip|}}} || {{{junprecip|}}} || {{{julprecip|}}} || {{{augprecip|}}} || {{{sepprecip|}}} || {{{octprecip|}}} || {{{novprecip|}}} || {{{decprecip|}}}
 
|- style="white-space:nowrap"
 
|- style="white-space:nowrap"
|{{#if:
+
| style="text-align:left" | {{#if:
 +
  {{{jansnow|}}}
 +
  {{{febsnow|}}}
 +
  {{{marsnow|}}}
 +
  {{{aprsnow|}}}
 +
  {{{maysnow|}}}
 +
  {{{junsnow|}}}
 +
  {{{julsnow|}}}
 +
  {{{augsnow|}}}
 +
  {{{sepsnow|}}}
 +
  {{{octsnow|}}}
 +
  {{{novsnow|}}}
 +
  {{{decsnow|}}}
 +
  | Snowfall [[Metric and Imperial equivalents|{{#ifeq:{{lc:{{{units|}}}}}|metric|(cm)|(in)}}]] |}}
 +
| {{{jansnow|}}} || {{{febsnow|}}} || {{{marsnow|}}} || {{{aprsnow|}}} || {{{maysnow|}}} || {{{junsnow|}}} || {{{julsnow|}}} || {{{augsnow|}}} || {{{sepsnow|}}} || {{{octsnow|}}} || {{{novsnow|}}} || {{{decsnow|}}}
 +
|- style="white-space:nowrap"
 +
| style="text-align:left" | {{#if:
 
   {{{jansun|}}}
 
   {{{jansun|}}}
 
   {{{febsun|}}}
 
   {{{febsun|}}}
Line 80: Line 99:
 
| {{{jansun|}}} || {{{febsun|}}} || {{{marsun|}}} || {{{aprsun|}}} || {{{maysun|}}} || {{{junsun|}}} || {{{julsun|}}} || {{{augsun|}}} || {{{sepsun|}}} || {{{octsun|}}} || {{{novsun|}}} || {{{decsun|}}}
 
| {{{jansun|}}} || {{{febsun|}}} || {{{marsun|}}} || {{{aprsun|}}} || {{{maysun|}}} || {{{junsun|}}} || {{{julsun|}}} || {{{augsun|}}} || {{{sepsun|}}} || {{{octsun|}}} || {{{novsun|}}} || {{{decsun|}}}
 
|- style="font-style:italic"
 
|- style="font-style:italic"
|{{#if:
+
| style="text-align:left" | {{#if:
 
   {{{janh2o|}}}
 
   {{{janh2o|}}}
 
   {{{febh2o|}}}
 
   {{{febh2o|}}}
Line 93: Line 112:
 
   {{{novh2o|}}}
 
   {{{novh2o|}}}
 
   {{{dech2o|}}}
 
   {{{dech2o|}}}
   | Water {{#ifeq:{{lc:{{{units|}}}}}|metric|(°C)|(°F)}} |}}
+
   | Water [[Metric and Imperial equivalents|{{#ifeq:{{lc:{{{units|}}}}}|metric|(°C)|(°F)}}]] |}}
 
| {{{janh2o|}}} || {{{febh2o|}}} || {{{marh2o|}}} || {{{aprh2o|}}} || {{{mayh2o|}}} || {{{junh2o|}}} || {{{julh2o|}}} || {{{augh2o|}}} || {{{seph2o|}}} || {{{octh2o|}}} || {{{novh2o|}}} || {{{dech2o|}}}
 
| {{{janh2o|}}} || {{{febh2o|}}} || {{{marh2o|}}} || {{{aprh2o|}}} || {{{mayh2o|}}} || {{{junh2o|}}} || {{{julh2o|}}} || {{{augh2o|}}} || {{{seph2o|}}} || {{{octh2o|}}} || {{{novh2o|}}} || {{{dech2o|}}}
 
|-
 
|-
|colspan="13" style="text-align:left"|{{#if:{{{description|}}}|<hr/>{{{description|}}}|}}
+
|colspan="13" style="text-align:left; white-space:normal;"|{{#if:{{{description|}}}|<hr/>{{{description|}}}|}}
|}
+
|}<noinclude>[[Category:Climate templates]]</noinclude>

Revision as of 00:45, 19 February 2014

Template:Climate formats simple climate info. Give it Metric or Imperial units of measure depending which is appropriate for the location you describe.

Usage and copy-and-paste wiki markup to use this template are on the talk page.

Part of Wikitravel:Climate Expedition. Template:ClimateCelsius or Template:ClimateFahrenheit are also nice.

Climate Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec

Variants

Actions

Destination Docents

In other languages