Template:Climate chart: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude>{{Template sandbox notice}}</noinclude><includeonly>{{#ifeq: {{lc: {{{units|}}}}}|imperial | <noinclude>{{Template sandbox notice}}</noinclude><includeonly>{{#ifeq: {{lc: {{{units|}}}}}|imperial | ||
|<table class="infobox | |<table class="infobox" style="width: {{{width|19.5em}}}; float: {{{float|none}}}; clear: {{{clear|{{{float|none}}}}}}; {{#ifeq:{{{float|}}}|left|margin-left:0em;margin-right:1em;}} text-align: center; border: solid 1px silver" cellspacing=0 cellpadding=0> | ||
<tr><th>{{{1}}}</th></tr> | <tr><th>{{{1}}}</th></tr> | ||
<tr><th style="font-size: 90%">Climate chart ([[ | <tr><th style="font-size: 90%">Climate chart ([[Template:Climate chart/How to read a climate chart|explanation]])</th></tr> | ||
<tr><td><table class="infobox" style="width: 100%; margin: 0; float: {{{float|none}}}; clear: {{{clear|{{{float|none}}}}}}; {{#ifeq:{{{float|}}}|left|margin-left:0em;margin-right:1em;}} text-align: center; border: none; font-size: 90%" cellspacing=0 cellpadding=0> | <tr><td><table class="infobox" style="width: 100%; margin: 0; float: {{{float|none}}}; clear: {{{clear|{{{float|none}}}}}}; {{#ifeq:{{{float|}}}|left|margin-left:0em;margin-right:1em;}} text-align: center; border: none; font-size: 90%" cellspacing=0 cellpadding=0> | ||
<tr><td>J</td><td>F</td><td>M</td><td>A</td><td>M</td><td>J</td><td>J</td><td>A</td><td>S</td><td>O</td><td>N</td><td>D</td></tr> | <tr> | ||
<td>{{Climate chart/month header|J}}</td> | |||
<td>{{Climate chart/month header|F}}</td> | |||
<td>{{Climate chart/month header|M}}</td> | |||
<td>{{Climate chart/month header|A}}</td> | |||
<td>{{Climate chart/month header|M}}</td> | |||
<td>{{Climate chart/month header|J}}</td> | |||
<td>{{Climate chart/month header|J}}</td> | |||
<td>{{Climate chart/month header|A}}</td> | |||
<td>{{Climate chart/month header|S}}</td> | |||
<td>{{Climate chart/month header|O}}</td> | |||
<td>{{Climate chart/month header|N}}</td> | |||
<td>{{Climate chart/month header|D}}</td> | |||
</tr> | |||
<tr> | <tr> | ||
<td>{{Climate chart/fahrenheit column i|{{{2}}}|{{{3}}}|{{{4}}}|{{{maxprecip|1}}}}}</td> | <td>{{Climate chart/fahrenheit column i|{{{2}}}|{{{3}}}|{{{4}}}|{{{maxprecip|1}}}}}</td> | ||
| Line 20: | Line 33: | ||
</tr> | </tr> | ||
<tr><td colspan=12 style="padding: 2px; text-align: left; line-height: 1.5em; color: red">Average max. and min. temperatures in °F</td></tr> | <tr><td colspan=12 style="padding: 2px; text-align: left; line-height: 1.5em; color: red">Average max. and min. temperatures in °F</td></tr> | ||
<tr><td colspan=12 style="padding: 2px; text-align: left; line-height: 1.5em; color: blue">Precipitation totals in inches</td></tr>{{#if:{{{source|}}}|<tr><td colspan=12 style="padding: 2px; text-align: left; line-height: 1.5em"> | <tr><td colspan=12 style="padding: 2px; text-align: left; line-height: 1.5em; color: blue">Precipitation totals in inches</td></tr>{{#if:{{{source|}}}|<tr><td colspan=12 style="padding: 2px; text-align: left; line-height: 1.5em">Source: {{{source}}}</td></tr>}} | ||
</table></td></tr> | </table></td></tr> | ||
<tr><td> | <tr><td> | ||
<table class="infobox collapsible collapsed" style="width: 100%; margin: 0; float: {{{float|none}}}; clear: {{{clear|{{{float|none}}}}}}; {{#ifeq:{{{float|}}}|left|margin-left:0em;margin-right:1em;}} text-align: center; border: none; font-size: 90%" cellspacing=0 cellpadding=0> | <table class="infobox collapsible collapsed" style="width: 100%; margin: 0; float: {{{float|none}}}; clear: {{{clear|{{{float|none}}}}}}; {{#ifeq:{{{float|}}}|left|margin-left:0em;margin-right:1em;}} text-align: center; border: none; font-size: 90%" cellspacing=0 cellpadding=0> | ||
<tr><td>J</td><td>F</td><td>M</td><td>A</td><td>M</td><td>J</td><td>J</td><td>A</td><td>S</td><td>O</td><td>N</td><td>D</td></tr> | <tr><th colspan=12>Metric conversion</th></tr> | ||
<tr> | |||
<td>{{Climate chart/month header|J}}</td> | |||
<td>{{Climate chart/month header|F}}</td> | |||
<td>{{Climate chart/month header|M}}</td> | |||
<td>{{Climate chart/month header|A}}</td> | |||
<td>{{Climate chart/month header|M}}</td> | |||
<td>{{Climate chart/month header|J}}</td> | |||
<td>{{Climate chart/month header|J}}</td> | |||
<td>{{Climate chart/month header|A}}</td> | |||
<td>{{Climate chart/month header|S}}</td> | |||
<td>{{Climate chart/month header|O}}</td> | |||
<td>{{Climate chart/month header|N}}</td> | |||
<td>{{Climate chart/month header|D}}</td> | |||
</tr> | |||
<tr> | <tr> | ||
<td>{{Climate chart/celsius column i|{{{2}}}|{{{3}}}|{{{4}}}|{{{maxprecip|1}}}}}</td> | <td>{{Climate chart/celsius column i|{{{2}}}|{{{3}}}|{{{4}}}|{{{maxprecip|1}}}}}</td> | ||
| Line 40: | Line 67: | ||
</tr> | </tr> | ||
<tr><td colspan=12 style="padding: 2px; text-align: left; line-height: 1.5em; color: red">Average max. and min. temperatures in °C</td></tr> | <tr><td colspan=12 style="padding: 2px; text-align: left; line-height: 1.5em; color: red">Average max. and min. temperatures in °C</td></tr> | ||
<tr><td colspan=12 style="padding: 2px; text-align: left; line-height: 1.5em; color: blue">Precipitation totals in mm</td></tr></table> | <tr><td colspan=12 style="padding: 2px; text-align: left; line-height: 1.5em; color: blue">Precipitation totals in mm</td></tr></table> | ||
</td></tr></table> | </td></tr></table> | ||
|<table class="infobox" style="width: 19.5em; float: {{{float|none}}}; clear: {{{clear|{{{float|none}}}}}}; {{#ifeq:{{{float|}}}|left|margin-left:0em;margin-right:1em;}} text-align: center; border: solid 1px silver" cellspacing=0 cellpadding=0> | |<table class="infobox" style="width: 19.5em; float: {{{float|none}}}; clear: {{{clear|{{{float|none}}}}}}; {{#ifeq:{{{float|}}}|left|margin-left:0em;margin-right:1em;}} text-align: center; border: solid 1px silver" cellspacing=0 cellpadding=0> | ||
| Line 46: | Line 73: | ||
<tr><th style="font-size: 90%">Climate chart ([[Template:Climate chart/How to read a climate chart|explanation]])</th></tr> | <tr><th style="font-size: 90%">Climate chart ([[Template:Climate chart/How to read a climate chart|explanation]])</th></tr> | ||
<tr><td><table class="infobox" style="width: 100%; margin: 0; float: {{{float|none}}}; clear: {{{clear|{{{float|none}}}}}}; {{#ifeq:{{{float|}}}|left|margin-left:0em;margin-right:1em;}} text-align: center; border: none; font-size: 90%" cellspacing=0 cellpadding=0> | <tr><td><table class="infobox" style="width: 100%; margin: 0; float: {{{float|none}}}; clear: {{{clear|{{{float|none}}}}}}; {{#ifeq:{{{float|}}}|left|margin-left:0em;margin-right:1em;}} text-align: center; border: none; font-size: 90%" cellspacing=0 cellpadding=0> | ||
<tr><td>J</td><td>F</td><td>M</td><td>A</td><td>M</td><td>J</td><td>J</td><td>A</td><td>S</td><td>O</td><td>N</td><td>D</td></tr> | <tr> | ||
<td>{{Climate chart/month header|J}}</td> | |||
<td>{{Climate chart/month header|F}}</td> | |||
<td>{{Climate chart/month header|M}}</td> | |||
<td>{{Climate chart/month header|A}}</td> | |||
<td>{{Climate chart/month header|M}}</td> | |||
<td>{{Climate chart/month header|J}}</td> | |||
<td>{{Climate chart/month header|J}}</td> | |||
<td>{{Climate chart/month header|A}}</td> | |||
<td>{{Climate chart/month header|S}}</td> | |||
<td>{{Climate chart/month header|O}}</td> | |||
<td>{{Climate chart/month header|N}}</td> | |||
<td>{{Climate chart/month header|D}}</td> | |||
</tr> | |||
<tr> | <tr> | ||
<td>{{Climate chart/celsius column|{{{2}}}|{{{3}}}|{{{4}}}|{{{maxprecip|1}}}}}</td> | <td>{{Climate chart/celsius column|{{{2}}}|{{{3}}}|{{{4}}}|{{{maxprecip|1}}}}}</td> | ||
| Line 62: | Line 102: | ||
</tr> | </tr> | ||
<tr><td colspan=12 style="padding: 2px; text-align: left; line-height: 1.5em; color: red">Average max. and min. temperatures in °C</td></tr> | <tr><td colspan=12 style="padding: 2px; text-align: left; line-height: 1.5em; color: red">Average max. and min. temperatures in °C</td></tr> | ||
<tr><td colspan=12 style="padding: 2px; text-align: left; line-height: 1.5em; color: blue">Precipitation totals in mm</td></tr>{{#if:{{{source|}}}|<tr><td colspan=12 style="padding: 2px; text-align: left; line-height: 1.5em"> | <tr><td colspan=12 style="padding: 2px; text-align: left; line-height: 1.5em; color: blue">Precipitation totals in mm</td></tr>{{#if:{{{source|}}}|<tr><td colspan=12 style="padding: 2px; text-align: left; line-height: 1.5em">Source: {{{source}}}</td></tr>}} | ||
</table></td></tr> | </table></td></tr> | ||
<tr><td> | <tr><td> | ||
<table class="infobox collapsible collapsed" style="width: 100%; margin: 0; float: {{{float|none}}}; clear: {{{clear|{{{float|none}}}}}}; {{#ifeq:{{{float|}}}|left|margin-left:0em;margin-right:1em;}} text-align: center; border: none; font-size: 90%" cellspacing=0 cellpadding=0> | <table class="infobox collapsible collapsed" style="width: 100%; margin: 0; float: {{{float|none}}}; clear: {{{clear|{{{float|none}}}}}}; {{#ifeq:{{{float|}}}|left|margin-left:0em;margin-right:1em;}} text-align: center; border: none; font-size: 90%" cellspacing=0 cellpadding=0> | ||
<tr><th colspan=12>Imperial conversion</th></tr> | |||
<tr><td>J</td><td>F</td><td>M</td><td>A</td><td>M</td><td>J</td><td>J</td><td>A</td><td>S</td><td>O</td><td>N</td><td>D</td></tr> | <tr><td>J</td><td>F</td><td>M</td><td>A</td><td>M</td><td>J</td><td>J</td><td>A</td><td>S</td><td>O</td><td>N</td><td>D</td></tr> | ||
<tr> | <tr> | ||
Revision as of 12:43, 23 December 2021
[create]
Template documentation
| Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |