Ero sivun ”Malline:Form/Years” versioiden välillä
Järvi-meriwikistä
Rivi 2: | Rivi 2: | ||
{{#ifexpr: {{{start|1990}}} > {{{end|2030}}} | {{#ifexpr: {{{start|1990}}} > {{{end|2030}}} | ||
|{{#arraysort:years|reverse}}}} | |{{#arraysort:years|reverse}}}} | ||
− | {{#arrayslice:output|years|{{#expr: {{{start| | + | {{#arrayslice:output|years|{{#expr: 2030-{{{start|2030}}} }}|{{#expr: {{#expr: {{{start|2030}}}-{{{end|1990}}} }} + 1 }} }} |
|{{#arrayslice:output|years|{{#expr: {{{start|1990}}}-1990 }}|{{#expr: {{#expr: {{{end|2030}}}-{{{start|1990}}} }} + 1 }} }} | |{{#arrayslice:output|years|{{#expr: {{{start|1990}}}-1990 }}|{{#expr: {{#expr: {{{end|2030}}}-{{{start|1990}}} }} + 1 }} }} | ||
}} | }} | ||
{{#arrayprint:output}}</includeonly> | {{#arrayprint:output}}</includeonly> |