Ero sivun ”Malline:ObsLEVEL” versioiden välillä
Järvi-meriwikistä
p (Tekstin korvaus – ”|KoordPohj={{#replace:{{#if: {{{Lat|}}}|{{{Lat|}}}|{{#arrayindex:SiteProps|3|}}}}|.|,}} |KoordIta={{#replace:{{#if: {{{Lon|}}}|{{{Lon|}}}|{{#arrayindex:SiteProps|4|}}}}|.|,}} |Koordinaatit={{#if: {{{Lat|}}}|{{{Lat|}}}, {{{Lon|}}}|{{#replace:{{#arrayindex:SiteProps|3|}}|,|.}},{{#replace:{{#arrayindex:SiteProps|4|}}|,|.}}}}” muotoon ”|KoordPohj={{#replace:{{#if: {{{Lat|}}}|{{{Lat|}}}|{{#arrayindex:SiteProps|3|}}}}|.|,}} |KoordIta={{#replace:{{#if: {{{Lon|}}}|{{{Lon|}}}|{{#arr...) |
p (Tekstin korvaus – ”|Vesistö={{#arrayindex:SiteProps|2|}}” muotoon ”|Vesistö#list={{#arrayindex:SiteProps|2|}}”) |
||
(3 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 --> | ||
Rivi 27: | Rivi 27: | ||
|ObsCode=level | |ObsCode=level | ||
|Tyyppi=Vedenkorkeus | |Tyyppi=Vedenkorkeus | ||
− | |Vedenkorkeus={{#replace:{{{LEVELval|}}}|.|,}} {{{LEVELunit|cm}}} | + | |Vedenkorkeus={{#replace:{{#replace:{{{LEVELval|}}}|.|,}}|+|}} {{{LEVELunit|cm}}} |
− | |Display_fi={{ReturnNumberSign|{{{LEVELval|}}}}}{{#replace:{{{LEVELval|}}}|.|,}} {{{LEVELunit|cm}}} (Vedenkorkeus) | + | |Display_fi={{ReturnNumberSign|{{{LEVELval|}}}}}{{#replace:{{#replace:{{{LEVELval|}}}|.|,}}|+|}} {{{LEVELunit|cm}}} (Vedenkorkeus) |
− | |Display_sv={{ReturnNumberSign|{{{LEVELval|}}}}}{{#replace:{{{LEVELval|}}}|.|,}} {{{LEVELunit|cm}}} (Vattenståndet) | + | |Display_sv={{ReturnNumberSign|{{{LEVELval|}}}}}{{#replace:{{#replace:{{{LEVELval|}}}|.|,}}|+|}} {{{LEVELunit|cm}}} (Vattenståndet) |
− | |Display_en={{ReturnNumberSign|{{{LEVELval|}}}}}{{#replace:{{{LEVELval|}}}|,|.}} {{{LEVELunit|cm}}} (Water level) | + | |Display_en={{ReturnNumberSign|{{{LEVELval|}}}}}{{#replace:{{#replace:{{{LEVELval|}}}|,|.}}|+|}} {{{LEVELunit|cm}}} (Water level) |
− | |DataJSON={ "val": {{#replace:{{{LEVELval|}}}|,|.}}, "unit": "{{{LEVELunit|cm}}}" } | + | |DataJSON={ "val": {{#replace:{{#replace:{{{LEVELval|}}}|,|.}}|+}}, "unit": "{{{LEVELunit|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">{{ReturnNumberSign|{{{LEVELval|}}}}}{{#replace:{{{LEVELval|}}}|.|,}} {{{LEVELunit|cm}}} (Vedenkorkeus)</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">{{ReturnNumberSign|{{{LEVELval|}}}}}{{#replace:{{#replace:{{{LEVELval|}}}|.|,}}|+}} {{{LEVELunit|cm}}} (Vedenkorkeus)</p>{{#if: {{{AddInfo|}}}|<p class="jwImgCapAddInfo">{{{AddInfo|}}}</p>}} |
<!-- COMMON --> | <!-- COMMON --> | ||
|Päivämäärä={{{Observation time|}}} | |Päivämäärä={{{Observation time|}}} | ||
+ | |Year={{#time: Y |{{{Observation time|}}} }} | ||
+ | |Month={{#time: n |{{{Observation time|}}} }} | ||
+ | |Week={{#time: W |{{{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|}}}}|.|,}} | ||
Rivi 46: | Rivi 49: | ||
|SiteName={{#arrayindex:SiteProps|11|-}} | |SiteName={{#arrayindex:SiteProps|11|-}} | ||
|Alue#list={{#arrayindex:SiteProps|1|}} | |Alue#list={{#arrayindex:SiteProps|1|}} | ||
− | |Vesistö={{#arrayindex:SiteProps|2|}} | + | |Vesistö#list={{#arrayindex:SiteProps|2|}} |
|Päävesistö={{#arrayindex:SiteProps|10|}} | |Päävesistö={{#arrayindex:SiteProps|10|}} | ||
|Kunta#list={{#if: {{{Muni|}}}|{{{Muni|}}}|{{#arrayindex:SiteProps|5|-}}}} | |Kunta#list={{#if: {{{Muni|}}}|{{{Muni|}}}|{{#arrayindex:SiteProps|5|-}}}} |