Template:Climate chart and Template:Wpderiv: Difference between pages

From OpenGeofiction
(Difference between pages)
mNo edit summary
 
mNo edit summary
 
Line 1: Line 1:
<includeonly>{{#ifeq: {{lc: {{{units|}}}}}|imperial
<div style="background: #fff9e0; padding: .5em; width:55%;">''This template is modeled after and adapted from a [http://en.wikipedia.org/wiki/Template:{{{1}}} template] originally found on Wikipedia and licensed under Creative Commons-ShareAlike-Attribution 3.0.''</div><noinclude>
|<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>
[[Category:Copyright templates]]</noinclude>
<tr style="border:0px"><th style="font-size: 105%; text-align: left; line-height:1.5em">{{{1}}}</th></tr>
<tr style="border:0px"><th style="font-size: 90%; text-align: left">Climate chart</th></tr>
<tr style="border:0px"><td><table class="infobox" style="width: 100%; float: {{{float|none}}}; {{#ifeq:{{{float|}}}||margin-left: -6px;}} {{#ifeq:{{{float|}}}|right|margin-right: 6px;}} {{#ifeq:{{{float|}}}|left|margin-left: -6px;}} 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 style="border:0px"><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 style="border:0px">
<td>{{Climate chart/fahrenheit column i|{{{2}}}|{{{3}}}|{{{4}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column i|{{{5}}}|{{{6}}}|{{{7}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column i|{{{8}}}|{{{9}}}|{{{10}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column i|{{{11}}}|{{{12}}}|{{{13}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column i|{{{14}}}|{{{15}}}|{{{16}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column i|{{{17}}}|{{{18}}}|{{{19}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column i|{{{20}}}|{{{21}}}|{{{22}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column i|{{{23}}}|{{{24}}}|{{{25}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column i|{{{26}}}|{{{27}}}|{{{28}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column i|{{{29}}}|{{{30}}}|{{{31}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column i|{{{32}}}|{{{33}}}|{{{34}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column i|{{{35}}}|{{{36}}}|{{{37}}}|{{{maxprecip|1}}}}}</td>
</tr>
<tr style="border:0px"><td colspan=12 style="padding-left:8px; text-align: left; line-height: 1.5em; color: red">Average max. and min. temperatures in °F</td></tr>
<tr style="border:0px"><td colspan=12 style="padding-left:8px; text-align: left; line-height: 1.5em; color: blue">Precipitation totals in inches</td></tr>{{#if:{{{source|}}}|<tr style="border:0px"><td colspan=12 style="padding-left:8px; text-align: left; line-height: 1.5em">''Source: {{{source}}}''</td></tr>}}
</table></td></tr>
<tr><td>
<table class="infobox mw-collapsible mw-collapsed" style="width: 100%; float: {{{float|none}}}; {{#ifeq:{{{float|}}}||margin-left: -6px;}} {{#ifeq:{{{float|}}}|right|margin-right: 6px;}} {{#ifeq:{{{float|}}}|left|margin-left: -6px;}} clear: {{{clear|{{{float|none}}}}}}; {{#ifeq:{{{float|}}}|left|margin-left:0em;margin-right:1em;}} text-align: center; border: none" cellspacing=0 cellpadding=0>
<tr style="border:0px"><th colspan=12 style="font-size: 100%; text-align: left">Metric conversion</th></tr>
<tr style="border:0px"><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 style="border:0px">
<td>{{Climate chart/celsius column i|{{{2}}}|{{{3}}}|{{{4}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column i|{{{5}}}|{{{6}}}|{{{7}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column i|{{{8}}}|{{{9}}}|{{{10}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column i|{{{11}}}|{{{12}}}|{{{13}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column i|{{{14}}}|{{{15}}}|{{{16}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column i|{{{17}}}|{{{18}}}|{{{19}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column i|{{{20}}}|{{{21}}}|{{{22}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column i|{{{23}}}|{{{24}}}|{{{25}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column i|{{{26}}}|{{{27}}}|{{{28}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column i|{{{29}}}|{{{30}}}|{{{31}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column i|{{{32}}}|{{{33}}}|{{{34}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column i|{{{35}}}|{{{36}}}|{{{37}}}|{{{maxprecip|1}}}}}</td>
</tr>
<tr style="border:0px"><td colspan=12 style="padding-left:8px; text-align: left; line-height: 1.5em; color: red">Average max. and min. temperatures in °C</td></tr>
<tr style="border:0px"><td colspan=12 style="padding-left:8px; text-align: left; line-height: 1.5em; color: blue">Precipitation totals in mm</td></tr></table>
</td></tr></table>
|<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 style="border:0px"><th style="font-size: 105%; text-align: left; line-height:1.5em">{{{1}}}</th></tr>
<tr style="border:0px"><th style="font-size: 90%; text-align: left">Climate chart</th></tr>
<tr style="border:0px"><td><table class="infobox" style="width: 100%; float: {{{float|none}}}; {{#ifeq:{{{float|}}}||margin-left: -6px;}} {{#ifeq:{{{float|}}}|right|margin-right: 6px;}} {{#ifeq:{{{float|}}}|left|margin-left: -6px;}} clear: {{{clear|{{{float|none}}}}}}; text-align: center; border: none; font-size: 90%" cellspacing=0 cellpadding=0>
<tr style="border:0px"><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 style="border:0px; margin-right:5px">
<td>{{Climate chart/celsius column|{{{2}}}|{{{3}}}|{{{4}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column|{{{5}}}|{{{6}}}|{{{7}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column|{{{8}}}|{{{9}}}|{{{10}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column|{{{11}}}|{{{12}}}|{{{13}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column|{{{14}}}|{{{15}}}|{{{16}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column|{{{17}}}|{{{18}}}|{{{19}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column|{{{20}}}|{{{21}}}|{{{22}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column|{{{23}}}|{{{24}}}|{{{25}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column|{{{26}}}|{{{27}}}|{{{28}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column|{{{29}}}|{{{30}}}|{{{31}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column|{{{32}}}|{{{33}}}|{{{34}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/celsius column|{{{35}}}|{{{36}}}|{{{37}}}|{{{maxprecip|1}}}}}</td>
</tr>
<tr style="border:0px"><td colspan=12 style="padding-left:8px; text-align: left; line-height: 1.5em; color: red">Average max. and min. temperatures in °C</td></tr>
<tr style="border:0px"><td colspan=12 style="padding-left:8px; text-align: left; line-height: 1.5em; color: blue">Precipitation totals in mm</td></tr>{{#if:{{{source|}}}|<tr style="border:0px"><td colspan=12 style="padding-left:8px; text-align: left; line-height: 1.5em">''Source: {{{source}}}''</td></tr>}}
</table></td></tr>
<tr><td>
<table class="infobox mw-collapsible mw-collapsed" style="width: 100%; float: {{{float|none}}}; {{#ifeq:{{{float|}}}||margin-left: -6px;}} {{#ifeq:{{{float|}}}|right|margin-right: 6px;}} {{#ifeq:{{{float|}}}|left|margin-left: -6px;}} clear: {{{clear|{{{float|none}}}}}};  text-align: center; border: none; font-size: 90%" cellspacing=0 cellpadding=0>
<tr style="border:0px"><th colspan=12 style="font-size:100%; text-align: left">Imperial conversion</th></tr>
<tr style="border:0px"><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 style="border:0px; margin-right:5px">
<td>{{Climate chart/fahrenheit column|{{{2}}}|{{{3}}}|{{{4}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column|{{{5}}}|{{{6}}}|{{{7}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column|{{{8}}}|{{{9}}}|{{{10}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column|{{{11}}}|{{{12}}}|{{{13}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column|{{{14}}}|{{{15}}}|{{{16}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column|{{{17}}}|{{{18}}}|{{{19}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column|{{{20}}}|{{{21}}}|{{{22}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column|{{{23}}}|{{{24}}}|{{{25}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column|{{{26}}}|{{{27}}}|{{{28}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column|{{{29}}}|{{{30}}}|{{{31}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column|{{{32}}}|{{{33}}}|{{{34}}}|{{{maxprecip|1}}}}}</td>
<td>{{Climate chart/fahrenheit column|{{{35}}}|{{{36}}}|{{{37}}}|{{{maxprecip|1}}}}}</td>
</tr>
<tr style="border:0px"><td colspan=12 style="padding-left:8px; text-align: left; line-height: 1.5em; color: red">Average max. and min. temperatures in °F</td></tr>
<tr style="border:0px"><td colspan=12 style="padding-left:8px; text-align: left; line-height: 1.5em; color: blue">Precipitation totals in inches</td></tr>
</table>
</td></tr></table>
}}</includeonly><noinclude>{{Wpderiv|Climate_chart}}
[[Category:Chart and graph templates]]
</noinclude>

Latest revision as of 01:47, 24 October 2021

This template is modeled after and adapted from a template originally found on Wikipedia and licensed under Creative Commons-ShareAlike-Attribution 3.0.