Jump to content

Template:Weather box/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m space
making template sandbox invoke module sandbox
Line 34: Line 34:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = basic | group_name = maximum humidex
{{#invoke: WeatherBox/sandbox | buildRow | mode = basic | group_name = maximum humidex
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| scale_factor = 1 | label = Record high [[humidex]] | annual_mode = max }}
| scale_factor = 1 | label = Record high [[humidex]] | annual_mode = max }}
Line 71: Line 71:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = avg record high
{{#invoke: WeatherBox/sandbox | buildRow | mode = temperature | group_name = avg record high
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| scale_factor = 1 | label = Mean maximum °{{#if:{{{metric first|}}}|C|F}} {{#if:{{{single line|}}}|(°{{#if:{{{metric first|}}}|F|C}})}}
| scale_factor = 1 | label = Mean maximum °{{#if:{{{metric first|}}}|C|F}} {{#if:{{{single line|}}}|(°{{#if:{{{metric first|}}}|F|C}})}}
Line 90: Line 90:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = high
{{#invoke: WeatherBox/sandbox | buildRow | mode = temperature | group_name = high
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| scale_factor = 1 | label = Average high °{{#if:{{{metric first|}}}|C|F}} {{#if:{{{single line|}}}|(°{{#if:{{{metric first|}}}|F|C}})}}
| scale_factor = 1 | label = Average high °{{#if:{{{metric first|}}}|C|F}} {{#if:{{{single line|}}}|(°{{#if:{{{metric first|}}}|F|C}})}}
Line 109: Line 109:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = mean
{{#invoke: WeatherBox/sandbox | buildRow | mode = temperature | group_name = mean
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| scale_factor = 1 | label = Daily mean °{{#if:{{{metric first|}}}|C|F}} {{#if:{{{single line|}}}|(°{{#if:{{{metric first|}}}|F|C}})}}
| scale_factor = 1 | label = Daily mean °{{#if:{{{metric first|}}}|C|F}} {{#if:{{{single line|}}}|(°{{#if:{{{metric first|}}}|F|C}})}}
Line 128: Line 128:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = low
{{#invoke: WeatherBox/sandbox | buildRow | mode = temperature | group_name = low
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| scale_factor = 1 | label = Average low °{{#if:{{{metric first|}}}|C|F}} {{#if:{{{single line|}}}|(°{{#if:{{{metric first|}}}|F|C}})}}
| scale_factor = 1 | label = Average low °{{#if:{{{metric first|}}}|C|F}} {{#if:{{{single line|}}}|(°{{#if:{{{metric first|}}}|F|C}})}}
Line 147: Line 147:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = avg record low
{{#invoke: WeatherBox/sandbox | buildRow | mode = temperature | group_name = avg record low
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| scale_factor = 1 | label = Mean minimum °{{#if:{{{metric first|}}}|C|F}} {{#if:{{{single line|}}}|(°{{#if:{{{metric first|}}}|F|C}})}}
| scale_factor = 1 | label = Mean minimum °{{#if:{{{metric first|}}}|C|F}} {{#if:{{{single line|}}}|(°{{#if:{{{metric first|}}}|F|C}})}}
Line 165: Line 165:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = record low
{{#invoke: WeatherBox/sandbox | buildRow | mode = temperature | group_name = record low
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| scale_factor = 1 | label = Record low °{{#if:{{{metric first|}}}|C|F}} {{#if:{{{single line|}}}|(°{{#if:{{{metric first|}}}|F|C}})}}
| scale_factor = 1 | label = Record low °{{#if:{{{metric first|}}}|C|F}} {{#if:{{{single line|}}}|(°{{#if:{{{metric first|}}}|F|C}})}}
Line 180: Line 180:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = basic | group_name = chill
{{#invoke: WeatherBox/sandbox | buildRow | mode = basic | group_name = chill
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| scale_factor = 1 | label = Record low [[wind chill]]
| scale_factor = 1 | label = Record low [[wind chill]]
Line 204: Line 204:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{precipitation colour}}}</code> is not a valid precipitation color alternative, use <code><nowiki>|precipitation colour=green</nowiki></code> or remove the <code>precipitation colour</code> parameter for the standard blue coloring.</strong>|green|none|p=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{precipitation colour}}}</code> is not a valid precipitation color alternative, use <code><nowiki>|precipitation colour=green</nowiki></code> or remove the <code>precipitation colour</code> parameter for the standard blue coloring.</strong>|green|none|p=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = precipitation | group_name = precipitation
{{#invoke: WeatherBox/sandbox | buildRow | mode = precipitation | group_name = precipitation
| color_scheme = {{#if:{{{precipitation colour|}}}|{{{precipitation colour}}}|p}} | date_mode=true
| color_scheme = {{#if:{{{precipitation colour|}}}|{{{precipitation colour}}}|p}} | date_mode=true
| scale_factor = 1 | prefer_cm = {{#ifexpr:{{Precision|{{{Jan precipitation inch|}}}}}<1|true}}
| scale_factor = 1 | prefer_cm = {{#ifexpr:{{Precision|{{{Jan precipitation inch|}}}}}<1|true}}
Line 264: Line 264:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{rain colour}}}</code> is not a valid rain color alternative, use <code><nowiki>|rain colour=green</nowiki></code> or remove the <code>rain colour</code> parameter for the standard blue coloring.</strong>|green|none|p=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{rain colour}}}</code> is not a valid rain color alternative, use <code><nowiki>|rain colour=green</nowiki></code> or remove the <code>rain colour</code> parameter for the standard blue coloring.</strong>|green|none|p=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = precipitation | group_name = rain
{{#invoke: WeatherBox/sandbox | buildRow | mode = precipitation | group_name = rain
| color_scheme = {{#if:{{{rain colour|}}}|{{{rain colour}}}|p}} | date_mode=true
| color_scheme = {{#if:{{{rain colour|}}}|{{{rain colour}}}|p}} | date_mode=true
| scale_factor = 1 | prefer_cm = {{#ifexpr:{{Precision|{{{Jan rain inch|}}}}}<1|true}}
| scale_factor = 1 | prefer_cm = {{#ifexpr:{{Precision|{{{Jan rain inch|}}}}}<1|true}}
Line 324: Line 324:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{snow colour}}}</code> is not a valid snow color alternative, use <code><nowiki>|snow colour=green</nowiki></code> or remove the <code>snow colour</code> parameter for the standard blue coloring.</strong>|green|none|p=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{snow colour}}}</code> is not a valid snow color alternative, use <code><nowiki>|snow colour=green</nowiki></code> or remove the <code>snow colour</code> parameter for the standard blue coloring.</strong>|green|none|p=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = precipitation | group_name = snow | prefer_cm = true
{{#invoke: WeatherBox/sandbox | buildRow | mode = precipitation | group_name = snow | prefer_cm = true
| color_scheme = {{#if:{{{snow colour|}}}|{{{snow colour}}}|p}} | date_mode=true
| color_scheme = {{#if:{{{snow colour|}}}|{{{snow colour}}}|p}} | date_mode=true
| scale_factor = 1
| scale_factor = 1
Line 365: Line 365:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = basic | group_name = maximum humidex
{{#invoke: WeatherBox/sandbox | buildRow | mode = basic | group_name = maximum humidex
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| scale_factor = 1 | label = [[Humidex]] | annual_mode = max | second_line = true }}
| scale_factor = 1 | label = [[Humidex]] | annual_mode = max | second_line = true }}
Line 383: Line 383:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki />
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki />
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = record high | second_line = true
{{#invoke: WeatherBox/sandbox | buildRow | mode = temperature | group_name = record high | second_line = true
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| scale_factor = 1 | label = Record high °{{#if:{{{metric first|}}}|F|C}}
| scale_factor = 1 | label = Record high °{{#if:{{{metric first|}}}|F|C}}
Line 402: Line 402:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = high | second_line = true
{{#invoke: WeatherBox/sandbox | buildRow | mode = temperature | group_name = high | second_line = true
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| scale_factor = 1 | label = Average high °{{#if:{{{metric first|}}}|F|C}}
| scale_factor = 1 | label = Average high °{{#if:{{{metric first|}}}|F|C}}
Line 421: Line 421:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = mean | second_line = true
{{#invoke: WeatherBox/sandbox | buildRow | mode = temperature | group_name = mean | second_line = true
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| scale_factor = 1 | label = Daily mean °{{#if:{{{metric first|}}}|F|C}} |show={{#if:{{{metric first|}}}|2|1}}
| scale_factor = 1 | label = Daily mean °{{#if:{{{metric first|}}}|F|C}} |show={{#if:{{{metric first|}}}|2|1}}
Line 440: Line 440:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = low | second_line = true
{{#invoke: WeatherBox/sandbox | buildRow | mode = temperature | group_name = low | second_line = true
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| scale_factor = 1 | label = Average low °{{#if:{{{metric first|}}}|F|C}} |show={{#if:{{{metric first|}}}|2|1}}
| scale_factor = 1 | label = Average low °{{#if:{{{metric first|}}}|F|C}} |show={{#if:{{{metric first|}}}|2|1}}
Line 459: Line 459:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = record low | second_line = true
{{#invoke: WeatherBox/sandbox | buildRow | mode = temperature | group_name = record low | second_line = true
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| scale_factor = 1 | label = Record low °{{#if:{{{metric first|}}}|F|C}} |show={{#if:{{{metric first|}}}|2|1}}
| scale_factor = 1 | label = Record low °{{#if:{{{metric first|}}}|F|C}} |show={{#if:{{{metric first|}}}|2|1}}
Line 474: Line 474:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{temperature colour}}}</code> is not a valid temperature color alternative, use <code><nowiki>|temperature colour=pastel</nowiki></code> or remove the <code>temperature colour</code> parameter for the standard coloring.</strong>|pastel|t|none|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = basic | group_name = chill
{{#invoke: WeatherBox/sandbox | buildRow | mode = basic | group_name = chill
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| scale_factor = 1 | label = [[Wind chill]]
| scale_factor = 1 | label = [[Wind chill]]
Line 497: Line 497:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{precipitation colour}}}</code> is not a valid precipitation color alternative, use <code><nowiki>|precipitation colour=green</nowiki></code> or remove the <code>precipitation colour</code> parameter for the standard blue coloring.</strong>|green|p=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{precipitation colour}}}</code> is not a valid precipitation color alternative, use <code><nowiki>|precipitation colour=green</nowiki></code> or remove the <code>precipitation colour</code> parameter for the standard blue coloring.</strong>|green|p=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = precipitation | group_name = precipitation | second_line = true
{{#invoke: WeatherBox/sandbox | buildRow | mode = precipitation | group_name = precipitation | second_line = true
| color_scheme = {{#if:{{{precipitation colour|}}}|{{{precipitation colour}}}|p}} | date_mode=true
| color_scheme = {{#if:{{{precipitation colour|}}}|{{{precipitation colour}}}|p}} | date_mode=true
| scale_factor = 1 | prefer_cm = {{#ifexpr:{{Precision|{{{Jan precipitation inch|}}}}}<1|true}}
| scale_factor = 1 | prefer_cm = {{#ifexpr:{{Precision|{{{Jan precipitation inch|}}}}}<1|true}}
Line 538: Line 538:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{rain colour}}}</code> is not a valid rain color alternative, use <code><nowiki>|rain colour=green</nowiki></code> or remove the <code>rain colour</code> parameter for the standard blue coloring.</strong>|green|none|p=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{rain colour}}}</code> is not a valid rain color alternative, use <code><nowiki>|rain colour=green</nowiki></code> or remove the <code>rain colour</code> parameter for the standard blue coloring.</strong>|green|none|p=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = precipitation | group_name = rain | second_line = true
{{#invoke: WeatherBox/sandbox | buildRow | mode = precipitation | group_name = rain | second_line = true
| color_scheme = {{#if:{{{rain colour|}}}|{{{rain colour}}}|p}} | date_mode=true
| color_scheme = {{#if:{{{rain colour|}}}|{{{rain colour}}}|p}} | date_mode=true
| scale_factor = 1 | prefer_cm = {{#ifexpr:{{Precision|{{{Jan rain inch|}}}}}<1|true}}
| scale_factor = 1 | prefer_cm = {{#ifexpr:{{Precision|{{{Jan rain inch|}}}}}<1|true}}
Line 579: Line 579:
{{!}}-
{{!}}-
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{snow colour}}}</code> is not a valid snow color alternative, use <code><nowiki>|snow colour=green</nowiki></code> or remove the <code>snow colour</code> parameter for the standard blue coloring.</strong>|green|p=<nowiki/>
{{!}}colspan="14"{{!}}<strong class="error">Error: <code>{{{snow colour}}}</code> is not a valid snow color alternative, use <code><nowiki>|snow colour=green</nowiki></code> or remove the <code>snow colour</code> parameter for the standard blue coloring.</strong>|green|p=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = precipitation | group_name = snow | second_line = true | prefer_cm = true
{{#invoke: WeatherBox/sandbox | buildRow | mode = precipitation | group_name = snow | second_line = true | prefer_cm = true
| color_scheme = {{#if:{{{snow colour|}}}|{{{snow colour}}}|p}} | date_mode=true
| color_scheme = {{#if:{{{snow colour|}}}|{{{snow colour}}}|p}} | date_mode=true
| scale_factor = 1
| scale_factor = 1
Line 604: Line 604:
-->{{{Oct precipitation days|}}}{{{Nov precipitation days|}}}{{{Dec precipitation days|}}}<!--
-->{{{Oct precipitation days|}}}{{{Nov precipitation days|}}}{{{Dec precipitation days|}}}<!--
-->|<nowiki/>
-->|<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = basic | group_name = precipitation days
{{#invoke: WeatherBox/sandbox | buildRow | mode = basic | group_name = precipitation days
| color_scheme = {{#if:{{{precip days colour|}}}|{{{precip days colour}}}|d}} | date_mode = true | scale_factor = 1
| color_scheme = {{#if:{{{precip days colour|}}}|{{{precip days colour}}}|d}} | date_mode = true | scale_factor = 1
| label = Average precipitation days {{#if:{{{unit precipitation days|}}}|<span style="font-size:90%;" class="nowrap">(≥ {{{unit precipitation days}}})</span>}}
| label = Average precipitation days {{#if:{{{unit precipitation days|}}}|<span style="font-size:90%;" class="nowrap">(≥ {{{unit precipitation days}}})</span>}}
Line 617: Line 617:
-->{{{Oct rain days|}}}{{{Nov rain days|}}}{{{Dec rain days|}}}<!--
-->{{{Oct rain days|}}}{{{Nov rain days|}}}{{{Dec rain days|}}}<!--
-->|<nowiki/>
-->|<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = basic | group_name = rain days
{{#invoke: WeatherBox/sandbox | buildRow | mode = basic | group_name = rain days
| color_scheme = {{#if:{{{precip days colour|}}}|{{{precip days colour}}}|d}} | date_mode = true | scale_factor = 1
| color_scheme = {{#if:{{{precip days colour|}}}|{{{precip days colour}}}|d}} | date_mode = true | scale_factor = 1
| label = Average rainy days {{#if:{{{unit rain days|}}}|<span style="font-size:90%;" class="nowrap">(≥ {{{unit rain days}}})</span>}}
| label = Average rainy days {{#if:{{{unit rain days|}}}|<span style="font-size:90%;" class="nowrap">(≥ {{{unit rain days}}})</span>}}
Line 630: Line 630:
-->{{{Oct snow days|}}}{{{Nov snow days|}}}{{{Dec snow days|}}}<!--
-->{{{Oct snow days|}}}{{{Nov snow days|}}}{{{Dec snow days|}}}<!--
-->|<nowiki/>
-->|<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = basic | group_name = snow days
{{#invoke: WeatherBox/sandbox | buildRow | mode = basic | group_name = snow days
| color_scheme = {{#if:{{{precip days colour|}}}|{{{precip days colour}}}|d}} | date_mode = true | scale_factor = 1
| color_scheme = {{#if:{{{precip days colour|}}}|{{{precip days colour}}}|d}} | date_mode = true | scale_factor = 1
| label = Average snowy days {{#if:{{{unit snow days|}}}|<span style="font-size:90%;" class="nowrap">(≥ {{{unit snow days}}})</span>}}
| label = Average snowy days {{#if:{{{unit snow days|}}}|<span style="font-size:90%;" class="nowrap">(≥ {{{unit snow days}}})</span>}}
Line 644: Line 644:
-->{{{Oct humidity|}}}{{{Nov humidity|}}}{{{Dec humidity|}}}<!--
-->{{{Oct humidity|}}}{{{Nov humidity|}}}{{{Dec humidity|}}}<!--
-->|<nowiki/>
-->|<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = basic | group_name = humidity
{{#invoke: WeatherBox/sandbox | buildRow | mode = basic | group_name = humidity
| color_scheme = {{#if:{{{humidity colour|}}}|{{{humidity colour}}}|h}}
| color_scheme = {{#if:{{{humidity colour|}}}|{{{humidity colour}}}|h}}
| scale_factor = 1 | label = Average [[relative humidity]] (%) {{#if:{{{time day|}}}|<span style="font-size:90%;" class="nowrap">(at {{{time day}}})</span>}}{{#if:{{{daily|}}}|<span style="font-size:90%;" class="nowrap">(daily average)</span>}}| annual_mode = avg }}
| scale_factor = 1 | label = Average [[relative humidity]] (%) {{#if:{{{time day|}}}|<span style="font-size:90%;" class="nowrap">(at {{{time day}}})</span>}}{{#if:{{{daily|}}}|<span style="font-size:90%;" class="nowrap">(daily average)</span>}}| annual_mode = avg }}
Line 659: Line 659:
-->{{{Oct afthumidity|}}}{{{Nov afthumidity|}}}{{{Dec afthumidity|}}}<!--
-->{{{Oct afthumidity|}}}{{{Nov afthumidity|}}}{{{Dec afthumidity|}}}<!--
-->|<nowiki/>
-->|<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = basic | group_name = afthumidity
{{#invoke: WeatherBox/sandbox | buildRow | mode = basic | group_name = afthumidity
| color_scheme = {{#if:{{{humidity colour|}}}|{{{humidity colour}}}|h}}
| color_scheme = {{#if:{{{humidity colour|}}}|{{{humidity colour}}}|h}}
| scale_factor = 1 | label = Average afternoon [[relative humidity]] (%) {{#if:{{{time day|}}}|<span style="font-size:90%;" class="nowrap">(at {{{time day}}})</span>}}{{#if:{{{daily|}}}|<span style="font-size:90%;" class="nowrap">(daily average)</span>}}| annual_mode = avg }}
| scale_factor = 1 | label = Average afternoon [[relative humidity]] (%) {{#if:{{{time day|}}}|<span style="font-size:90%;" class="nowrap">(at {{{time day}}})</span>}}{{#if:{{{daily|}}}|<span style="font-size:90%;" class="nowrap">(daily average)</span>}}| annual_mode = avg }}
Line 676: Line 676:
-->{{{Oct sun|}}}{{{Nov sun|}}}{{{Dec sun|}}}<!--
-->{{{Oct sun|}}}{{{Nov sun|}}}{{{Dec sun|}}}<!--
-->|<nowiki/>
-->|<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = basic | group_name = sun
{{#invoke: WeatherBox/sandbox | buildRow | mode = basic | group_name = sun
| color_scheme = {{#if:{{{sun colour|}}}|{{{sun colour}}}|s}} | date_mode = true | scale_factor = 1
| color_scheme = {{#if:{{{sun colour|}}}|{{{sun colour}}}|s}} | date_mode = true | scale_factor = 1
| label = Mean monthly [[Sunshine duration|sunshine hours]]
| label = Mean monthly [[Sunshine duration|sunshine hours]]
Line 690: Line 690:
-->{{{Octd sun|}}}{{{Novd sun|}}}{{{Decd sun|}}}<!--
-->{{{Octd sun|}}}{{{Novd sun|}}}{{{Decd sun|}}}<!--
-->|<nowiki/>
-->|<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = basic | group_name = d sun
{{#invoke: WeatherBox/sandbox | buildRow | mode = basic | group_name = d sun
| color_scheme = {{#if:{{{sun colour|}}}|{{{sun colour}}}|s}} | include_space = false
| color_scheme = {{#if:{{{sun colour|}}}|{{{sun colour}}}|s}} | include_space = false
| scale_factor = 30.44 | label = Mean daily [[Sunshine duration|sunshine hours]] | annual_mode = avg }}
| scale_factor = 30.44 | label = Mean daily [[Sunshine duration|sunshine hours]] | annual_mode = avg }}
Line 704: Line 704:
-->{{{Oct percentsun|}}}{{{Nov percentsun|}}}{{{Dec percentsun|}}}<!--
-->{{{Oct percentsun|}}}{{{Nov percentsun|}}}{{{Dec percentsun|}}}<!--
-->|<nowiki/>
-->|<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = basic | group_name = percentsun
{{#invoke: WeatherBox/sandbox | buildRow | mode = basic | group_name = percentsun
| color_scheme = {{#if:{{{sun colour|}}}|{{{sun colour}}}|s}}
| color_scheme = {{#if:{{{sun colour|}}}|{{{sun colour}}}|s}}
| scale_factor = 7.2 | label = Percent [[Sunshine duration|possible sunshine]] | annual_mode = avg }}
| scale_factor = 7.2 | label = Percent [[Sunshine duration|possible sunshine]] | annual_mode = avg }}

Revision as of 05:15, 16 May 2018