Ero sivun ”Malline:ObsICE” versioiden välillä
Järvi-meriwikistä
p (Tekstin korvaus – ”|Päivämäärä={{{Date|}}} {{#if: {{{Time|}}}|{{#if: {{#pos: {{#replace:{{{Time|}}}|.|:}}|:}}|{{#replace:{{{Time|}}}|.|:}}|{{{Time|}}}:00}}}}” muotoon ”|Päivämäärä={{#if: {{{Observation time|}}}|{{{Observation time|}}}|{{{Date|}}} {{#if: {{{Time|}}}|{{#if: {{#pos: {{#replace:{{{Time|}}}|.|:}}|:}}|{{#replace:{{{Time|}}}|.|:}}|{{{Time|}}}:00}}}}}}”) |
|||
Rivi 30: | Rivi 30: | ||
|JäätilanneStr={{JäätilanneNumToStr|{{{ICEcat|}}}}} | |JäätilanneStr={{JäätilanneNumToStr|{{{ICEcat|}}}}} | ||
|Jään paksuus={{#switch: {{{ICEcat|}}}|0|1|5=0 cm|2=1 cm|3={{#if: {{{ICEval|}}}|{{#replace:{{{ICEval|}}}|.|,}} {{{ICEunit|cm}}} }} }} | |Jään paksuus={{#switch: {{{ICEcat|}}}|0|1|5=0 cm|2=1 cm|3={{#if: {{{ICEval|}}}|{{#replace:{{{ICEval|}}}|.|,}} {{{ICEunit|cm}}} }} }} | ||
− | |Display_fi={{ICEcatNumToStr|{{{ICEcat|}}}|fi}} {{#if: {{{ICEval|}}}|({{#replace:{{{ICEval|}}}|.|,}} {{{ICEunit|cm}}})}} | + | |Display_fi={{ICEcatNumToStr|{{{ICEcat|}}}|fi}} {{#if: {{{ICEval|}}}|({{#replace:{{{ICEval|}}}|.|,}} {{{ICEunit|cm}}})}} |
− | |Display_sv={{ICEcatNumToStr|{{{ICEcat|}}}|sv}} {{#if: {{{ICEval|}}}|({{#replace:{{{ICEval|}}}|.|,}} {{{ICEunit|cm}}})}} | + | |Display_sv={{ICEcatNumToStr|{{{ICEcat|}}}|sv}} {{#if: {{{ICEval|}}}|({{#replace:{{{ICEval|}}}|.|,}} {{{ICEunit|cm}}})}} |
− | |Display_en={{ICEcatNumToStr|{{{ICEcat|}}}|en}} {{#if: {{{ICEval|}}}|({{#replace:{{{ICEval|}}}|,|.}} {{{ICEunit|cm}}})}} | + | |Display_en={{ICEcatNumToStr|{{{ICEcat|}}}|en}} {{#if: {{{ICEval|}}}|({{#replace:{{{ICEval|}}}|,|.}} {{{ICEunit|cm}}})}} |
|DataJSON={ "cat": "{{{ICEcat|}}}", "val": {{#switch: {{{ICEcat|}}}|0|1|5=0|2=1|3={{#if: {{{ICEval|}}}|{{#replace:{{{ICEval|-999}}}|,|.}}|-999}}|#default= }}, "unit": "{{#switch: {{{ICEcat|}}}|0|2|5=cm|3={{{ICEunit|cm}}}|#default=cm }}" } | |DataJSON={ "cat": "{{{ICEcat|}}}", "val": {{#switch: {{{ICEcat|}}}|0|1|5=0|2=1|3={{#if: {{{ICEval|}}}|{{#replace:{{{ICEval|-999}}}|,|.}}|-999}}|#default= }}, "unit": "{{#switch: {{{ICEcat|}}}|0|2|5=cm|3={{{ICEunit|cm}}}|#default=cm }}" } | ||
|ImageCaption=<p class="jwImgCapSiteLink">[[{{#arrayindex:SiteProps|11|-}}|<span class="jwImgCapLakeName">{{#titleparts: {{#arrayindex:SiteProps|11|-}}|1|1}}/</span>{{#titleparts: {{#arrayindex:SiteProps|11|-}}|0|2}}]]</p>{{#if: {{{Date|}}}|<p class="jwImgCapDate">{{#time: j. F Y {{#if:{{{Time}}}|H:i}}|{{{Date|}}} {{{Time|}}}|fi}}</p>}}<p class="jwImgCapTheObs">{{ICEcatNumToStr|{{{ICEcat|}}}|fi}} {{#if: {{{ICEval|}}}|({{#replace:{{{ICEval|}}}|.|,}} {{{ICEunit|cm}}})}}</p>{{#if: {{{AddInfo|}}}|<p class="jwImgCapAddInfo">{{{AddInfo|}}}</p>}} | |ImageCaption=<p class="jwImgCapSiteLink">[[{{#arrayindex:SiteProps|11|-}}|<span class="jwImgCapLakeName">{{#titleparts: {{#arrayindex:SiteProps|11|-}}|1|1}}/</span>{{#titleparts: {{#arrayindex:SiteProps|11|-}}|0|2}}]]</p>{{#if: {{{Date|}}}|<p class="jwImgCapDate">{{#time: j. F Y {{#if:{{{Time}}}|H:i}}|{{{Date|}}} {{{Time|}}}|fi}}</p>}}<p class="jwImgCapTheObs">{{ICEcatNumToStr|{{{ICEcat|}}}|fi}} {{#if: {{{ICEval|}}}|({{#replace:{{{ICEval|}}}|.|,}} {{{ICEunit|cm}}})}}</p>{{#if: {{{AddInfo|}}}|<p class="jwImgCapAddInfo">{{{AddInfo|}}}</p>}} | ||
<!-- COMMON --> | <!-- COMMON --> | ||
− | |Päivämäärä= | + | |Päivämäärä={{{Observation time|}}} |
|KoordPohj={{#replace:{{#if: {{{Lat|}}}|{{{Lat|}}}|{{#arrayindex:SiteProps|3|}}}}|.|,}} | |KoordPohj={{#replace:{{#if: {{{Lat|}}}|{{{Lat|}}}|{{#arrayindex:SiteProps|3|}}}}|.|,}} | ||
|KoordIta={{#replace:{{#if: {{{Lon|}}}|{{{Lon|}}}|{{#arrayindex:SiteProps|4|}}}}|.|,}} | |KoordIta={{#replace:{{#if: {{{Lon|}}}|{{{Lon|}}}|{{#arrayindex:SiteProps|4|}}}}|.|,}} |