Malline:Form/
Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| (7 välissä olevaa versiota samalta käyttäjältä ei näytetä) | |||
| Rivi 1: | Rivi 1: | ||
<includeonly>{{(((}}for template{{!}}ObsSECCHI{{!}}label={{int:Jw-Näkösyvyys}}{{!}}multiple{{!}}add button text=Lisää uusi havainto{{)))}} | <includeonly>{{(((}}for template{{!}}ObsSECCHI{{!}}label={{int:Jw-Näkösyvyys}}{{!}}multiple{{!}}add button text=Lisää uusi havainto{{)))}} | ||
<div class=" | <div class="container"> | ||
<div | <div class="row"> | ||
<div class="col-md-12"> | |||
{{Form/Observation time}} | |||
</div> | |||
</div> | </div> | ||
<div | <div class="row"> | ||
<div class="col-md-6"> | |||
<h4>{{int:Jw-Näkösyvyys}}</h4> | |||
{{ | {{(((}}field{{!}}SECCHIval{{!}}mandatory{{!}}input type=regexp{{!}}size=4{{!}}regexp=/^(){{!}}([0-9]+){{!}}([0-9]+(,{{!}}\.)[0-9]+)$/{{!}}message=Kiellettyjä merkkejä!{{!}}{{)))}}{{(((}}field{{!}}SECCHIunit{{!}}input type=dropdown{{!}}mandatory{{!}}values=m{{!}}default=m{{)))}} | ||
</div> | </div> | ||
<div | <div class="col-md-6"> | ||
< | <h4>{{int:Jw-Mittausväline}}</h4> | ||
{{(((}}field{{!}}SECCHIdev{{!}}input type=dropdown{{!}}values=secchi, other{{!}}default=secchi{{!}}class=JwLocDropdowns JwLoc-secchi-Secchi–levy JwLoc-other-Muu{{)))}} | |||
</div> | </div> | ||
</div> | |||
{{Form/ObsCommon}} | |||
</div> <!-- /container --> | |||
{{(((}}end template{{)))}}{{JwCardPad|2= | |||
{{#arraydefine:obses|{{#ask: [[Havainto::+]][[SiteID::{{#show: {{FULLPAGENAME}}|?SiteID#- |default=- }}]][[Tyyppi::Näkösyvyys]]|format=count}},{{#ask: [[Havainto::{{FULLPAGENAME}}]][[Tyyppi::Näkösyvyys]]|format=count}}}}<span style="font-size: 120%;">{{int:Jw-Havaintopaikan-arkistossa-txt| | |||
</ | {{#expr: {{#arrayindex:obses|0 }} - {{#arrayindex:obses|1 }}}}|{{int:Jw-näkösyvyydestä}}}}</span> | ||
{{(((}}end template{{)))}}{{ | |||
{{#arraydefine:obses|{{#ask: [[Havainto::+]][[SiteID::{{#show: {{FULLPAGENAME}}|?SiteID#- |default=- }}]][[Tyyppi::Näkösyvyys]]|format=count}},{{#ask: [[Havainto::{{FULLPAGENAME}}]][[Tyyppi::Näkösyvyys]]|format=count}}}}<span style="font-size: 120%;">Havaintopaikan | |||
}}</includeonly> | }}</includeonly> | ||


