p (Tekstin korvaus – ”|Vesistö={{#arrayindex:SiteProps|2|}}” muotoon ”|Vesistö#list={{#arrayindex:SiteProps|2|}}”) |
p (Tekstin korvaus – ”<!-- COMMON -->” muotoon ”|Vuosi={{#time: Y | {{{Observation time|}}} }} <!-- COMMON -->”) |
||
| (6 välissä olevaa versiota samalta käyttäjältä ei näytetä) | |||
| Rivi 23: | Rivi 23: | ||
<!-- Set observation properties --> | <!-- Set observation properties --> | ||
{{# | {{#subobject: |Havainto=true | ||
<!-- SPECIFIC --> | <!-- SPECIFIC --> | ||
|ObsCode=turb | |ObsCode=turb | ||
| Rivi 33: | Rivi 33: | ||
|DataJSON={ "val": {{{TURBval|}}}, "unit": "{{{TURBunit|FTU}}}" } | |DataJSON={ "val": {{{TURBval|}}}, "unit": "{{{TURBunit|FTU}}}" } | ||
|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">{{#replace:{{{TURBval|}}}|.|,}} {{{TURBunit|FTU}}} (Sameus)</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">{{#replace:{{{TURBval|}}}|.|,}} {{{TURBunit|FTU}}} (Sameus)</p>{{#if: {{{AddInfo|}}}|<p class="jwImgCapAddInfo">{{{AddInfo|}}}</p>}} | ||
|Vuosi={{#time: Y | {{{Observation time|}}} }} | |||
<!-- COMMON --> | <!-- COMMON --> | ||
|Päivämäärä={{#if: {{{Observation time|}}}|{{{Observation time|}}}|{{{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}}}}}} | ||
| Rivi 38: | Rivi 39: | ||
|KoordIta={{#replace:{{#if: {{{Lon|}}}|{{{Lon|}}}|{{#arrayindex:SiteProps|4|}}}}|.|,}} | |KoordIta={{#replace:{{#if: {{{Lon|}}}|{{{Lon|}}}|{{#arrayindex:SiteProps|4|}}}}|.|,}} | ||
|Koordinaatit={{#if: {{{Lat|}}}|{{#replace:{{{Lat|}}}|,|.}}, {{#replace:{{{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 45: | Rivi 46: | ||
|SiteID={{#arrayindex:SiteProps|0|-}} | |SiteID={{#arrayindex:SiteProps|0|-}} | ||
|SiteName={{#arrayindex:SiteProps|11|-}} | |SiteName={{#arrayindex:SiteProps|11|-}} | ||
|Alue | |Alue={{#arrayindex:SiteProps|1|}}|+sep=, | ||
|Vesistö | |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|-}} }} | ||


