Help Wikitravel grow by contributing to an article! Learn how.

Difference between revisions of "Template:Climate"

From Wikitravel
Jump to: navigation, search
(right-align numbers for neater appearance)
(6 intermediate revisions by 6 users not shown)
Line 6: Line 6:
 
Part of '''[[Wikitravel:Climate Expedition]]'''. [[Template:ClimateCelsius]] or [[Template:ClimateFahrenheit]] are also nice.
 
Part of '''[[Wikitravel:Climate Expedition]]'''. [[Template:ClimateCelsius]] or [[Template:ClimateFahrenheit]] are also nice.
 
</noinclude>
 
</noinclude>
{| 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;"
+
{| 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="background: #ECECEC"|Jan
 
!width="25" style="background: #ECECEC"|Jan
Line 21: Line 21:
 
!width="25" style="background: #ECECEC"|Dec
 
!width="25" style="background: #ECECEC"|Dec
 
|- style="color:#e85801;"
 
|- style="color:#e85801;"
| style="text-align:right" | {{#if:
+
| style="text-align:left" | {{#if:
 
   {{{janhigh|}}}
 
   {{{janhigh|}}}
 
   {{{febhigh|}}}
 
   {{{febhigh|}}}
Line 37: Line 37:
 
| {{{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:#348840; line-height:40%;"
 
|- style="color:#348840; line-height:40%;"
| style="text-align:right" | {{#if:
+
| style="text-align:left" | {{#if:
 
   {{{janlow|}}}
 
   {{{janlow|}}}
 
   {{{feblow|}}}
 
   {{{feblow|}}}
Line 53: Line 53:
 
| {{{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"
| style="text-align:right" | {{#if:
+
| style="text-align:left" | {{#if:
 
   {{{janprecip|}}}
 
   {{{janprecip|}}}
 
   {{{febprecip|}}}
 
   {{{febprecip|}}}
Line 66: Line 66:
 
   {{{novprecip|}}}
 
   {{{novprecip|}}}
 
   {{{decprecip|}}}
 
   {{{decprecip|}}}
   | Precipitation [[Metric and Imperial equivalents|{{#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"
| style="text-align:right" | {{#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 85: Line 101:
 
| {{{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"
| style="text-align:right" | {{#if:
+
| style="text-align:left" | {{#if:
 
   {{{janh2o|}}}
 
   {{{janh2o|}}}
 
   {{{febh2o|}}}
 
   {{{febh2o|}}}

Revision as of 23:48, 10 September 2011

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