p (Tekstin korvaus – ”|Order={{{Order|}}}” muotoon ”|Sort date={{{Observation time|2000-01-01 00:00}}}”) |
p (Tekstin korvaus – ”|Maakunta#list={{#if: {{{Muni|}}}|{{#show: {{{Muni|}}} |?Maakunta#- }}|{{#arrayindex:SiteProps|7|-}}}}” muotoon ”|Maakunta={{#if: {{{Muni|}}}|{{#show: {{{Muni|}}} |?Maakunta#- }}|{{#arrayindex:SiteProps|7|-}}}}|+sep=,”) |
||
(14 välissä olevaa versiota samalta käyttäjältä ei näytetä) | |||
Rivi 19: | Rivi 19: | ||
|?Päävesistö#- | |?Päävesistö#- | ||
|? | |? | ||
|mainlabel=- |format=array |propsep=¤¤¤}}|¤¤¤}} | |mainlabel=- |format=array |manysep=, |propsep=¤¤¤}}|¤¤¤}} | ||
<!-- /Get site properties --> | <!-- /Get site properties --> | ||
<!-- Set observation properties --> | <!-- Set observation properties --> | ||
{{# | {{#subobject: |Havainto=true | ||
<!-- SPECIFIC --> | <!-- SPECIFIC --> | ||
|ObsCode=snow | |ObsCode=snow | ||
|Tyyppi=Lumitilanne | |Tyyppi=Lumitilanne | ||
|Lumitilanne={{#if: {{{SNOWcover|}}}|{{{SNOWcover|}}}|{{{SNOWcat| | |Lumitilanne={{#if: {{{SNOWcover|}}}|{{{SNOWcover|}}}|{{{SNOWcat|100}}}}} | ||
|Maastotyyppi={{{TERRAINcat|}}} | |Maastotyyppi={{{TERRAINcat|}}} | ||
|Lumen paksuus={{#replace: {{#if: {{{SNOWval|}}}|{{{SNOWval|}}} {{{SNOWunit|cm}}}|{{#if: {{{DEPTHval|}}}|{{{DEPTHval|}}} {{{DEPTHunit|cm}}}}}}}|.|,}} | |Lumen paksuus={{#replace: {{#if: {{{SNOWval|}}}|{{{SNOWval|}}} {{{SNOWunit|cm}}}|{{#if: {{{DEPTHval|}}}|{{{DEPTHval|}}} {{{DEPTHunit|cm}}}|{{#ifeq: {{{SNOWcover|}}}{{{SNOWcat|}}}|0|0 cm }} }} }}|.|,}} | ||
|Sample weight={{#if: {{{WEIGHTval|}}}|{{#replace:{{{WEIGHTval|}}}|.|,}} {{{WEIGHTunit|kg}}}|}} | |Sample weight={{#if: {{{WEIGHTval|}}}|{{#replace:{{{WEIGHTval|}}}|.|,}} {{{WEIGHTunit|kg}}}|}} | ||
|Sample diameter={{#if: {{{DIAMval|}}}|{{#replace:{{{DIAMval|}}}|.|,}} {{{DIAMunit|cm}}}|}} | |Sample diameter={{#if: {{{DIAMval|}}}|{{#replace:{{{DIAMval|}}}|.|,}} {{{DIAMunit|cm}}}|}} | ||
|Lumikuorma={{#replace: | |Lumikuorma={{#ifeq: {{{SNOWcover|}}}{{{SNOWcat|}}}|0|0 kg/m²|{{#replace: | ||
{{#if: {{{LOADval|}}} | {{#if: {{{LOADval|}}} | ||
|{{{LOADval|}}} {{{LOADunit|kg/m²}}} | |{{{LOADval|}}} {{{LOADunit|kg/m²}}} | ||
Rivi 64: | Rivi 64: | ||
}} | }} | ||
|.|, | |.|, | ||
}} | }} }} | ||
|Snow type={{{SNOWtype|}}} | |Snow type={{{SNOWtype|}}} | ||
|Display_fi={{#if: {{{LOADval|}}}{{{WEIGHTval|}}}{{{DIAMval|}}}{{{SNOWval|}}}{{{DEPTHval|}}} | |Display_fi={{#if: {{{LOADval|}}}{{{WEIGHTval|}}}{{{DIAMval|}}}{{{SNOWval|}}}{{{DEPTHval|}}} | ||
Rivi 78: | Rivi 78: | ||
|{{#if: {{{DEPTHval|}}} | |{{#if: {{{DEPTHval|}}} | ||
|, "val": {{#replace:{{{DEPTHval|}}}|,|.}}, "unit": "{{{DEPTHunit|cm}}}" | |, "val": {{#replace:{{{DEPTHval|}}}|,|.}}, "unit": "{{{DEPTHunit|cm}}}" | ||
|, "val": - | |{{#ifeq: {{{SNOWcover|}}}{{{SNOWcat|}}}|0 | ||
|, "val": 0, "unit": "{{{DEPTHunit|cm}}}" | |||
|, "val": -999, "unit": "" | |||
}} | |||
}} | }} | ||
}} | }} | ||
Rivi 90: | Rivi 93: | ||
10000 | 10000 | ||
}}, "loadunit": "{{{WEIGHTunit|kg}}}/m²" | }}, "loadunit": "{{{WEIGHTunit|kg}}}/m²" | ||
|{{#ifeq: {{{SNOWcover|}}}{{{SNOWcat|}}}|0 | |||
|, "load": 0, "loadunit": "{{{LOADunit|kg/m²}}}" | |||
|, "load": -999, "loadunit": "" | |||
}} | |||
}} | |||
|{{#ifeq: {{{SNOWcover|}}}{{{SNOWcat|}}}|0 | |||
|, "load": 0, "loadunit": "{{{LOADunit|kg/m²}}}" | |||
|, "load": -999, "loadunit": "" | |, "load": -999, "loadunit": "" | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
Rivi 101: | Rivi 110: | ||
|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|}}}}|.|,}} | ||
|Koordinaatit={{#if: {{{Lat|}}}|{{{Lat|}}}, {{{Lon|}}}|{{#replace:{{#arrayindex:SiteProps|3|}}|,|.}},{{#replace:{{#arrayindex:SiteProps|4|}}|,|.}}}} | |Koordinaatit={{#if: {{{Lat|}}}|{{#replace:{{{Lat|}}}|,|.}}, {{#replace:{{{Lon|}}}|,|.}}|{{#replace:{{#arrayindex:SiteProps|3|}}|,|.}}, {{#replace:{{#arrayindex:SiteProps|4|}}|,|.}}}} | ||
|Tag | |Tag={{{Tags|}}}|+sep=, | ||
|Lisätiedot={{{AddInfo|}}} | |Lisätiedot={{{AddInfo|}}} | ||
|Tiedosto={{#if: {{{Img|}}}|Tiedosto:{{#replace:{{{Img|}}}|Tiedosto:|}}}} | |Tiedosto={{#if: {{{Img|}}}|Tiedosto:{{#replace:{{{Img|}}}|Tiedosto:|}}}} | ||
Rivi 109: | Rivi 118: | ||
|SiteID={{#arrayindex:SiteProps|0|-}} | |SiteID={{#arrayindex:SiteProps|0|-}} | ||
|SiteName={{#arrayindex:SiteProps|11|-}} | |SiteName={{#arrayindex:SiteProps|11|-}} | ||
|Alue | |Alue={{#arrayindex:SiteProps|1|}}|+sep=, | ||
|Vesistö={{#arrayindex:SiteProps|2|}} | |Vesistö={{#arrayindex:SiteProps|2|}}|+sep=, | ||
|Päävesistö={{#arrayindex:SiteProps|10|}} | |Päävesistö={{#arrayindex:SiteProps|10|}} | ||
|Kunta | |Kunta={{#if: {{{Muni|}}}|{{{Muni|}}}|{{#arrayindex:SiteProps|5|-}}}}|+sep=, | ||
|ELY-keskus={{#if: {{{Muni|}}}|{{#show: {{{Muni|}}} |?ELY-keskus#- }}|{{#arrayindex:SiteProps|6|-}}}} | |ELY-keskus={{#if: {{{Muni|}}}|{{#show: {{{Muni|}}} |?ELY-keskus#- }}|{{#arrayindex:SiteProps|6|-}}}} | ||
|Maakunta | |Maakunta={{#if: {{{Muni|}}}|{{#show: {{{Muni|}}} |?Maakunta#- }}|{{#arrayindex:SiteProps|7|-}}}}|+sep=, | ||
|Ylläpito={{#arrayindex:SiteProps|8|Tavallisen käyttäjän ylläpitämä}} | |Ylläpito={{#arrayindex:SiteProps|8|Tavallisen käyttäjän ylläpitämä}} | ||
|Seuranta={{#if: {{{Seuranta|}}}|{{{Seuranta|}}}|{{#arrayindex:SiteProps|9|-}} }} | |Seuranta={{#if: {{{Seuranta|}}}|{{{Seuranta|}}}|{{#arrayindex:SiteProps|9|-}} }} |