p (Tekstin korvaus – ”|Kunta#list={{#if: {{{Muni|}}}|{{{Muni|}}}|{{#arrayindex:SiteProps|5|-}}}}” muotoon ”|Kunta={{#if: {{{Muni|}}}|{{{Muni|}}}|{{#arrayindex:SiteProps|5|-}}}}|+sep=,”) |
p (Tekstin korvaus – ”{{#if: {{{Img|}}}|Tiedosto:{{#replace:{{{Img|}}}|Tiedosto:|}}}}” muotoon ”{{#ifexist: {{{Img|}}}|Tiedosto:{{#replace:{{{Img|}}}|Tiedosto:|}}}}”) |
||
| (3 välissä olevaa versiota samalta käyttäjältä ei näytetä) | |||
| Rivi 34: | Rivi 34: | ||
|DataJSON={ "val": {{#replace:{{#replace:{{{TEMPval}}}|,|.}}|+|}}, "unit": "{{{TEMPunit|°C}}}" } | |DataJSON={ "val": {{#replace:{{#replace:{{{TEMPval}}}|,|.}}|+|}}, "unit": "{{{TEMPunit|°C}}}" } | ||
|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:{{{TEMPval}}}|.|,}} {{{TEMPunit|°C}}}</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:{{{TEMPval}}}|.|,}} {{{TEMPunit|°C}}}</p>{{#if: {{{AddInfo|}}}|<p class="jwImgCapAddInfo">{{{AddInfo|}}}</p>}} | ||
|Vuosi={{#time: Y | {{{Observation time|}}} }} | |||
<!-- COMMON --> | <!-- COMMON --> | ||
|Päivämäärä={{{Observation time|}}} | |Päivämäärä={{{Observation time|}}} | ||
| Rivi 41: | Rivi 42: | ||
|Tag={{{Tags|}}}|+sep=, | |Tag={{{Tags|}}}|+sep=, | ||
|Lisätiedot={{{AddInfo|}}} | |Lisätiedot={{{AddInfo|}}} | ||
|Tiedosto={{# | |Tiedosto={{#ifexist: {{{Img|}}}|Tiedosto:{{#replace:{{{Img|}}}|Tiedosto:|}}}} | ||
|Image={{# | |Image={{#ifexist: {{{Img|}}}|Tiedosto:{{#replace:{{{Img|}}}|Tiedosto:|}}}} | ||
<!-- METADATA --> | <!-- METADATA --> | ||
|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|}}|+sep=, | |Vesistö={{#arrayindex:SiteProps|2|}}|+sep=, | ||
|Päävesistö={{#arrayindex:SiteProps|10|}} | |Päävesistö={{#arrayindex:SiteProps|10|}} | ||
|Kunta={{#if: {{{Muni|}}}|{{{Muni|}}}|{{#arrayindex:SiteProps|5|-}}}}|+sep=, | |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|-}} }} | ||


