Templat:Weather box: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan
Membalikkan revisi 7401923 oleh Bennylin (bicara)
Baris 17:
! {{dabbr|Nov|November}}
! {{dabbr|Des|Desember}}
!style="border-left-width:medium" |Tahun<!--
|-<!--
 
FIRST LINE MAXIMUM HUMIDEX
Baris 28 ⟶ 27:
-->|{{#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 46 ⟶ 45:
-->{{{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 52 ⟶ 51:
| 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 66 ⟶ 64:
-->{{{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 72 ⟶ 70:
| 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 86 ⟶ 83:
-->{{{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 92 ⟶ 89:
| 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 106 ⟶ 102:
-->{{{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 112 ⟶ 108:
| 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 125 ⟶ 120:
-->{{{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 131 ⟶ 126:
| 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 141 ⟶ 135:
-->{{{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 148 ⟶ 142:
| annual_mode = min }}
}}}}
}}<!--
|-<!--
 
FIRST LINE TOTAL PRECIPITATION
Baris 166 ⟶ 159:
-->{{{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 209 ⟶ 202:
 
| annual_mode = sum }}
}}}}<!--
|-<!--
 
FIRST LINE RAINFALL
Baris 227 ⟶ 219:
-->{{{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 270 ⟶ 262:
 
| annual_mode = sum }}
}}}}<!--
|-<!--
 
FIRST LINE SNOWFALL
Baris 288 ⟶ 279:
-->{{{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 318 ⟶ 309:
}}
| annual_mode = sum }}
}}}}<!--
|-<!--
 
-->{{#if:{{{single line|}}}||<!--
Baris 330 ⟶ 320:
-->{{{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 349 ⟶ 338:
-->{{{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 355 ⟶ 344:
| scale_factor = 1 | label = Rekor tertinggi °{{#if:{{{metric first|}}}|F|C}}
| annual_mode = max }}
}}}}<!--
|-<!--
 
SECOND LINE AVERAGE HIGH TEMPERATURES
Baris 369 ⟶ 357:
-->{{{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 375 ⟶ 363:
| scale_factor = 1 | label = Rata-rata tertinggi °{{#if:{{{metric first|}}}|F|C}}
| annual_mode = avg }}
}}}}<!--
|-<!--
 
SECOND LINE DAILY MEAN TEMPERATURES
Baris 389 ⟶ 376:
-->{{{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 395 ⟶ 382:
| 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 409 ⟶ 395:
-->{{{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 415 ⟶ 401:
| 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 429 ⟶ 414:
-->{{{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 435 ⟶ 420:
| 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 445 ⟶ 429:
-->{{{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 451 ⟶ 435:
| scale_factor = 1 | label = [[Kesejukan angin]]
| annual_mode = min }}
}}}}}}<!--
|-<!--
 
SECOND LINE TOTAL PRECIPITATION
Baris 469 ⟶ 452:
-->{{{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 492 ⟶ 475:
}}
| annual_mode = sum }}
}}}}<!--
|-<!--
 
SECOND LINE RAINFALL
Baris 510 ⟶ 492:
-->{{{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 533 ⟶ 515:
}}
| annual_mode = sum }}
}}}}<!--
|-<!--
 
SECOND LINE SNOWFALL
Baris 551 ⟶ 532:
-->{{{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 673 ⟶ 654:
|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>