Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 2: | Rivi 2: | ||
| {{#ifexpr: {{{Viikko|}}} > 39 | Virallinen sinileväseuranta on päättynyt tältä kesältä | | {{#ifexpr: {{{Viikko|}}} > 39 | Virallinen sinileväseuranta on päättynyt tältä kesältä | ||
|{{#arraydefine: obscount|{{#replace: {{#ask: [[Havainto::+]][[ObsCode::alg]][[Seuranta::Valtakunnallinen leväseuranta]][[Vuosi::{{{Vuosi|}}}]][[Viikko::{{{Viikko|}}}]]|format=count }} |,|. }} }}{{#arraydefine: totalcount|{{#replace: {{#ask: [[Luokka:Nykyinen leväseurannan havaintopaikka]]|format=count }} |,|. }} }}{{#arraydefine: obsdegree|{{#number_format:{{#expr: {{#arrayindex: obscount|0|0}} / {{#arrayindex: totalcount|0|0}} }}|1}} }}{{#arrayindex: obsdegree|0|0}}{{#switch: {{#arrayindex: obsdegree|0|0}} | |{{#arraydefine: obscount|{{#replace: {{#ask: [[Havainto::+]][[ObsCode::alg]][[Seuranta::Valtakunnallinen leväseuranta]][[Vuosi::{{{Vuosi|}}}]][[Viikko::{{{Viikko|}}}]]|format=count }} |,|. }} }}{{#arraydefine: totalcount|{{#replace: {{#ask: [[Luokka:Nykyinen leväseurannan havaintopaikka]]|format=count }} |,|. }} }}{{#arraydefine: obsdegree|{{#number_format:{{#expr: {{#arrayindex: obscount|0|0}} / {{#arrayindex: totalcount|0|0}} }}|1}} }}{{#arrayindex: obsdegree|0|0}}{{#switch: {{#arrayindex: obsdegree|0|0}} | ||
| 0.0 | | 0.0 | ||
| 0.1 | | 0.1 | ||
| 0.2 | | 0.2 = Seurantahavaintoja vielä vähän tältä viikolta | ||
| 0.3 | | 0.3 | ||
| 0.4 = | | 0.4 = Viikon seurantahavainnot täydentyvät | ||
| 0.5 | | 0.5 | ||
| 0.6 | | 0.6 | ||


