Ero sivun ”Malline:ObsSNOW” 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 98: | Rivi 98: | ||
|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">{{#if: {{{LOADval|}}}{{{WEIGHTval|}}}{{{DIAMval|}}}|{{#replace:{{#if: {{{LOADval|}}}|{{{LOADval|}}} {{{LOADunit|kg/m²}}}|{{#if: {{{WEIGHTval|}}}{{{DIAMval|}}}|{{#expr: {{#replace:{{{WEIGHTval|}}}|,|.}} / {{#expr: {{#replace:{{{DIAMval|}}}|,|.}} * {{#replace:{{{DIAMval|}}}|,|.}} }} }} {{{WEIGHTunit|kg}}}/{{{DIAMunit|cm}}}² |}} }}|.|,}} (Lumikuorma)|{{#if: {{{SNOWval|}}}{{{DEPTHval|}}}|{{#replace: {{#if: {{{SNOWval|}}}|{{{SNOWval|}}} {{{SNOWunit|cm}}}|{{#if: {{{DEPTHval|}}}|{{{DEPTHval|}}} {{{DEPTHunit|cm}}}}}}}|.|,}} (Lumipeitteen paksuus)|{{SNOWcatToStr|{{#if: {{{SNOWcover|}}}|{{{SNOWcover|}}}|{{{SNOWcat|50}}} }}|fi}} }} }}</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">{{#if: {{{LOADval|}}}{{{WEIGHTval|}}}{{{DIAMval|}}}|{{#replace:{{#if: {{{LOADval|}}}|{{{LOADval|}}} {{{LOADunit|kg/m²}}}|{{#if: {{{WEIGHTval|}}}{{{DIAMval|}}}|{{#expr: {{#replace:{{{WEIGHTval|}}}|,|.}} / {{#expr: {{#replace:{{{DIAMval|}}}|,|.}} * {{#replace:{{{DIAMval|}}}|,|.}} }} }} {{{WEIGHTunit|kg}}}/{{{DIAMunit|cm}}}² |}} }}|.|,}} (Lumikuorma)|{{#if: {{{SNOWval|}}}{{{DEPTHval|}}}|{{#replace: {{#if: {{{SNOWval|}}}|{{{SNOWval|}}} {{{SNOWunit|cm}}}|{{#if: {{{DEPTHval|}}}|{{{DEPTHval|}}} {{{DEPTHunit|cm}}}}}}}|.|,}} (Lumipeitteen paksuus)|{{SNOWcatToStr|{{#if: {{{SNOWcover|}}}|{{{SNOWcover|}}}|{{{SNOWcat|50}}} }}|fi}} }} }}</p>{{#if: {{{AddInfo|}}}|<p class="jwImgCapAddInfo">{{{AddInfo|}}}</p>}} | ||
<!-- COMMON --> | <!-- COMMON --> | ||
− | |Päivämäärä={{{Date|}}} {{#if: {{{Time|}}}|{{#if: {{#pos: {{#replace:{{{Time|}}}|.|:}}|:}}|{{#replace:{{{Time|}}}|.|:}}|{{{Time|}}}:00}}}} | + | |Päivämäärä={{#if: {{{Observation time|}}}|{{{Observation time|}}}|{{{Date|}}} {{#if: {{{Time|}}}|{{#if: {{#pos: {{#replace:{{{Time|}}}|.|:}}|:}}|{{#replace:{{{Time|}}}|.|:}}|{{{Time|}}}:00}}}}}} |
|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|}}}}|.|,}} |