Ero sivun ”Malline:ObsICE” versioiden välillä
Järvi-meriwikistä
p (Tekstin korvaus – ”|Maakunta#list={{#if: {{{Muni|}}}|{{{#show: {{{Muni|}}} |?Maakunta#- }}|{{#arrayindex:SiteProps|7|-}}}}” muotoon ”|Maakunta#list={{#if: {{{Muni|}}}|{{#show: {{{Muni|}}} |?Maakunta#- }}|{{#arrayindex:SiteProps|7|-}}}}”) |
|||
(6 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 33: | Rivi 33: | ||
|Display_sv={{ICEcatNumToStr|{{{ICEcat|}}}|sv}} {{#if: {{{ICEval|}}}|({{#replace:{{{ICEval|}}}|.|,}} {{{ICEunit|cm}}})}} | |Display_sv={{ICEcatNumToStr|{{{ICEcat|}}}|sv}} {{#if: {{{ICEval|}}}|({{#replace:{{{ICEval|}}}|.|,}} {{{ICEunit|cm}}})}} | ||
|Display_en={{ICEcatNumToStr|{{{ICEcat|}}}|en}} {{#if: {{{ICEval|}}}|({{#replace:{{{ICEval|}}}|,|.}} {{{ICEunit|cm}}})}} | |Display_en={{ICEcatNumToStr|{{{ICEcat|}}}|en}} {{#if: {{{ICEval|}}}|({{#replace:{{{ICEval|}}}|,|.}} {{{ICEunit|cm}}})}} | ||
− | |DataJSON={ "cat": "{{{ICEcat|}}}", "val": {{#switch: {{{ICEcat|}}}|0|1|5=0|2=1|3={{#if: {{{ICEval|}}}|{{#replace:{{{ICEval|-999}}}|,|.}}|-999}}|#default= }}, "unit": "{{#switch: {{{ICEcat|}}}|0|2|5=cm|3={{{ICEunit|cm}}}|#default=cm }}" } | + | |DataJSON={ "cat": "{{{ICEcat|}}}", "val": {{#switch: {{{ICEcat|}}}|0|1|5=0|2=1|3={{#if: {{{ICEval|}}}|{{#replace:{{{ICEval|-999}}}|,|.}}|-999}}|#default=-999 }}, "unit": "{{#switch: {{{ICEcat|}}}|0|2|5=cm|3={{{ICEunit|cm}}}|#default=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">{{ICEcatNumToStr|{{{ICEcat|}}}|fi}} {{#if: {{{ICEval|}}}|({{#replace:{{{ICEval|}}}|.|,}} {{{ICEunit|cm}}})}}</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">{{ICEcatNumToStr|{{{ICEcat|}}}|fi}} {{#if: {{{ICEval|}}}|({{#replace:{{{ICEval|}}}|.|,}} {{{ICEunit|cm}}})}}</p>{{#if: {{{AddInfo|}}}|<p class="jwImgCapAddInfo">{{{AddInfo|}}}</p>}} | ||
<!-- COMMON --> | <!-- COMMON --> | ||
Rivi 39: | Rivi 39: | ||
|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#list={{{Tags|}}} | |Tag#list={{{Tags|}}} | ||
|Lisätiedot={{{AddInfo|}}} | |Lisätiedot={{{AddInfo|}}} | ||
Rivi 48: | Rivi 48: | ||
|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|-}}}} | ||
Rivi 56: | Rivi 56: | ||
|Seuranta={{#if: {{{Seuranta|}}}|{{{Seuranta|}}}|{{#arrayindex:SiteProps|9|-}} }} | |Seuranta={{#if: {{{Seuranta|}}}|{{{Seuranta|}}}|{{#arrayindex:SiteProps|9|-}} }} | ||
|Source={{{Source|}}} | |Source={{{Source|}}} | ||
− | | | + | |Sort date={{{Observation time|2000-01-01 00:00}}} |
|User={{{User|}}} | |User={{{User|}}} | ||
}} | }} |