Templat:Weather box: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Farras (bicara | kontrib)
inches --> inci
Tidak ada ringkasan suntingan
Baris 17:
! {{dabbr|Nov|November}}
! {{dabbr|Des|Desember}}
!style="border-left-width:medium" |Tahun
|-<!--
 
FIRST LINE MAXIMUM HUMIDEX
Baris 27 ⟶ 28:
-->|{{#if:{{{metric first|}}}{{{single line|}}}<!--
-->|{{#switch:{{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}|#default=<nowiki/>
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|pastel|t|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = basic | group_name = maximum humidex
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| scale_factor = 1 | label = [[Humidex]] | annual_mode = max }}
}}}}}}
|-<!--
 
FIRST LINE RECORD HIGH TEMPERATURES
Baris 45 ⟶ 46:
-->{{{Oct record high F|}}}{{{Nov record high F|}}}{{{Dec record high F|}}}<!--
-->|{{#switch:{{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|pastel|t|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = record high
Baris 51 ⟶ 52:
| scale_factor = 1 | label = Rekor tertinggi °{{#if:{{{metric first|}}}|C|F}} {{#if:{{{single line|}}}|(°{{#if:{{{metric first|}}}|F|C}})}}
| annual_mode = max }}
}}}}
|-<!--
 
FIRST LINE AVERAGE HIGH TEMPERATURES
Baris 64 ⟶ 66:
-->{{{Oct high F|}}}{{{Nov high F|}}}{{{Dec high F|}}}<!--
-->|{{#switch:{{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|pastel|t|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = high
Baris 70 ⟶ 72:
| scale_factor = 1 | label = Rata-rata tertinggi °{{#if:{{{metric first|}}}|C|F}} {{#if:{{{single line|}}}|(°{{#if:{{{metric first|}}}|F|C}})}}
| annual_mode = avg }}
}}}}
|-<!--
 
FIRST LINE DAILY MEAN TEMPERATURES
Baris 83 ⟶ 86:
-->{{{Oct mean F|}}}{{{Nov mean F|}}}{{{Dec mean F|}}}<!--
-->|{{#switch:{{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|pastel|t|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = mean
Baris 89 ⟶ 92:
| scale_factor = 1 | label = Rata-rata harian °{{#if:{{{metric first|}}}|C|F}} {{#if:{{{single line|}}}|(°{{#if:{{{metric first|}}}|F|C}})}}
| annual_mode = avg }}
}}}}
|-<!--
 
FIRST LINE AVERAGE LOW TEMPERATURES
Baris 102 ⟶ 106:
-->{{{Oct low F|}}}{{{Nov low F|}}}{{{Dec low F|}}}<!--
-->|{{#switch:{{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|pastel|t|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = low
Baris 108 ⟶ 112:
| scale_factor = 1 | label = Rata-rata terendah °{{#if:{{{metric first|}}}|C|F}} {{#if:{{{single line|}}}|(°{{#if:{{{metric first|}}}|F|C}})}}
| annual_mode = avg }}
}}}}
|-<!--
FIRST LINE RECORD LOW TEMPERATURES
 
Baris 120 ⟶ 125:
-->{{{Oct record low F|}}}{{{Nov record low F|}}}{{{Dec record low F|}}}<!--
-->|{{#switch:{{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|pastel|t|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = record low
Baris 126 ⟶ 131:
| scale_factor = 1 | label = Rekor terendah °{{#if:{{{metric first|}}}|C|F}} {{#if:{{{single line|}}}|(°{{#if:{{{metric first|}}}|F|C}})}}
| annual_mode = min }}
}}}}
|-<!--
 
FIRST LINE MINIMUM WIND CHILL
Baris 135 ⟶ 141:
-->{{{Oct chill|}}}{{{Nov chill|}}}{{{Dec chill|}}}<!--
-->|{{#if:{{{single line|}}}{{{metric first|}}}|{{#switch:{{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|pastel|t|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = basic | group_name = chill
Baris 142 ⟶ 148:
| annual_mode = min }}
}}}}
}}
|-<!--
 
FIRST LINE TOTAL PRECIPITATION
Baris 159 ⟶ 166:
-->{{{Oct precipitation inch|}}}{{{Nov precipitation inch|}}}{{{Dec precipitation inch|}}}<!--
-->|{{#switch:{{#if:{{{precipitation colour|}}}|{{{precipitation colour}}}|p}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|green|p=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = precipitation | group_name = precipitation
Baris 202 ⟶ 209:
 
| annual_mode = sum }}
}}}}
|-<!--
 
FIRST LINE RAINFALL
Baris 219 ⟶ 227:
-->{{{Oct rain inch|}}}{{{Nov rain inch|}}}{{{Dec rain inch|}}}<!--
-->|{{#switch:{{#if:{{{rain colour|}}}|{{{rain colour}}}|p}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|green|p=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = precipitation | group_name = rain
Baris 262 ⟶ 270:
 
| annual_mode = sum }}
}}}}
|-<!--
 
FIRST LINE SNOWFALL
Baris 279 ⟶ 288:
-->{{{Oct snow inch|}}}{{{Nov snow inch|}}}{{{Dec snow inch|}}}<!--
-->|{{#switch:{{#if:{{{snow colour|}}}|{{{snow colour}}}|p}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|green|p=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = precipitation | group_name = snow | prefer_cm = true
Baris 309 ⟶ 318:
}}
| annual_mode = sum }}
}}}}
|-<!--
 
-->{{#if:{{{single line|}}}||<!--
Baris 320 ⟶ 330:
-->{{{Oct maximum humidex|}}}{{{Nov maximum humidex|}}}{{{Dec maximum humidex|}}}<!--
-->|{{#if:{{{metric first|}}}||{{#switch:{{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|pastel|t|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = basic | group_name = maximum humidex
| color_scheme = {{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}
| scale_factor = 1 | label = [[Humidex]] | annual_mode = max | second_line = true }}
}}}}}}
|-<!--
 
SECOND LINE RECORD HIGH TEMPERATURES
Baris 338 ⟶ 349:
-->{{{Oct record high F|}}}{{{Nov record high F|}}}{{{Dec record high F|}}}<!--
-->|{{#switch:{{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|pastel|t|test=<nowiki />
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = record high | second_line = true
Baris 344 ⟶ 355:
| scale_factor = 1 | label = Rekor tertinggi °{{#if:{{{metric first|}}}|F|C}}
| annual_mode = max }}
}}}}
|-<!--
 
SECOND LINE AVERAGE HIGH TEMPERATURES
Baris 357 ⟶ 369:
-->{{{Oct high F|}}}{{{Nov high F|}}}{{{Dec high F|}}}<!--
-->|{{#switch:{{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|pastel|t|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = high | second_line = true
Baris 363 ⟶ 375:
| scale_factor = 1 | label = Rata-rata tertinggi °{{#if:{{{metric first|}}}|F|C}}
| annual_mode = avg }}
}}}}
|-<!--
 
SECOND LINE DAILY MEAN TEMPERATURES
Baris 376 ⟶ 389:
-->{{{Oct mean F|}}}{{{Nov mean F|}}}{{{Dec mean F|}}}<!--
-->|{{#switch:{{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|pastel|t|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = mean | second_line = true
Baris 382 ⟶ 395:
| scale_factor = 1 | label = Rata-rata harian °{{#if:{{{metric first|}}}|F|C}} |show={{#if:{{{metric first|}}}|2|1}}
| annual_mode = avg }}
}}}}
|-<!--
 
SECOND LINE AVERAGE LOW TEMPERATURES
Baris 395 ⟶ 409:
-->{{{Oct low F|}}}{{{Nov low F|}}}{{{Dec low F|}}}<!--
-->|{{#switch:{{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|pastel|t|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = low | second_line = true
Baris 401 ⟶ 415:
| scale_factor = 1 | label = Rata-rata terendah °{{#if:{{{metric first|}}}|F|C}} |show={{#if:{{{metric first|}}}|2|1}}
| annual_mode = avg }}
}}}}
|-<!--
 
SECOND LINE RECORD LOW TEMPERATURES
Baris 414 ⟶ 429:
-->{{{Oct record low F|}}}{{{Nov record low F|}}}{{{Dec record low F|}}}<!--
-->|{{#switch:{{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|pastel|t|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = temperature | group_name = record low | second_line = true
Baris 420 ⟶ 435:
| scale_factor = 1 | label = Rekor terendah °{{#if:{{{metric first|}}}|F|C}} |show={{#if:{{{metric first|}}}|2|1}}
| annual_mode = min }}
}}}}
|-<!--
 
SECOND LINE MINIMUM WIND CHILL
Baris 429 ⟶ 445:
-->{{{Oct chill|}}}{{{Nov chill|}}}{{{Dec chill|}}}<!--
-->|{{#if:{{{metric first|}}}||{{#switch:{{#if:{{{temperature colour|}}}|{{{temperature colour}}}|t}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|pastel|t|test=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = basic | group_name = chill
Baris 435 ⟶ 451:
| scale_factor = 1 | label = [[Kesejukan angin]]
| annual_mode = min }}
}}}}}}
|-<!--
 
SECOND LINE TOTAL PRECIPITATION
Baris 452 ⟶ 469:
-->{{{Oct precipitation inch|}}}{{{Nov precipitation inch|}}}{{{Dec precipitation inch|}}}
|{{#switch:{{#if:{{{precipitation colour|}}}|{{{precipitation colour}}}|p}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|green|p=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = precipitation | group_name = precipitation | second_line = true
Baris 475 ⟶ 492:
}}
| annual_mode = sum }}
}}}}
|-<!--
 
SECOND LINE RAINFALL
Baris 492 ⟶ 510:
-->{{{Oct rain inch|}}}{{{Nov rain inch|}}}{{{Dec rain inch|}}}<!--
-->|{{#switch:{{#if:{{{rain colour|}}}|{{{rain colour}}}|p}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|green|p=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = precipitation | group_name = rain | second_line = true
Baris 515 ⟶ 533:
}}
| annual_mode = sum }}
}}}}
|-<!--
 
SECOND LINE SNOWFALL
Baris 532 ⟶ 551:
-->{{{Oct snow inch|}}}{{{Nov snow inch|}}}{{{Dec snow inch|}}}<!--
-->|{{#switch:{{#if:{{{snow colour|}}}|{{{snow colour}}}|p}}|#default=<nowiki/>
 
{{!}}-
{{!}}colspan="14"{{!}}<font color="red">'''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.'''</font>|green|p=<nowiki/>
{{#invoke: WeatherBox | buildRow | mode = precipitation | group_name = snow | second_line = true | prefer_cm = true
Baris 654 ⟶ 673:
|colspan="14" style="text-align:center;font-size:85%" {{#if:{{{source 1|}}}{{{source|}}}|{{!}}''{{#if:{{{source 2|}}}|Sumber &#35;1:|Sumber:}} {{{source|{{{source 1}}}}}}''<!--
-->{{#if:{{{source 2|}}}|<nowiki/>
 
{{!}}-
{{!}}colspan="14" style="text-align:center; font-size:85%"{{!}}''Sumber &#35;2: {{{source 2}}}''}}|{{!}}{{Citation needed|date={{{date|}}}}}}}
|}</includeonly><noinclude>