|
|
Строка 1: |
Строка 1: |
− | <includeonly>{{#vardefine:SlidePos|{{#expr:{{#pos:{{{1}}}|,|{{#expr:{{#pos:{{{1}}}|,}}+1}}}}+1}}}}{{#vardefine:SlideLastPos|{{#expr:{{#rpos:{{{1}}}|,}}+1}}}}{{#vardefine:SlideStop|{{#ifeq:{{#var:SlidePos}}|{{#var:SlideLastPos}}||1}}}}{{#ifeq:{{#var:SlidePos|}}|1|{{#ifeq:{{#sub:{{{2|}}}|-7}}|numbers|{{Сетка/Крафт цифры|{{#sub:{{{1|}}}|0|-1}}|{{{4|}}}{{{6|}}}{{{5|}}}|grid-{{#sub:{{{2|}}}|0|-1}}}}|<span class="grid-{{{2|}}}">[[File:Grid {{#sub:{{{1|}}}|0|-1}}{{{3|}}}.png{{!}}link={{{4|}}}{{#sub:{{{1|}}}|0|-1}}{{{5|}}}]]</span>}}|<!--
| + | |
− | * 1 предмет:
| |
− | --><span class="grid-{{{2}}} active">{{#if:{{#vardefineecho:SlideNum|{{#ifeq:{{#sub:{{{2|}}}|-7}}|numbers|1}}}}|{{Сетка/Крафт цифры|{{#explode:{{{1}}}|,|0}}|{{{4|}}}{{#explode:{{{6|}}}|,|0}}{{{5|}}}|grid-{{#sub:{{{2|}}}|0|-1}}}}|{{#ifexpr:{{#len:{{#vardefineecho:slideExpld|{{#explode:{{{1}}}|,|0}}}}}}>0|[[File:Grid {{#var:slideExpld}}{{{3|}}}.png{{!}}link={{{4|}}}{{#var:slideExpld}}{{{5|}}}]]}}}}</span><!--
| |
− | * 2 предмет:
| |
− | --><span class="grid-{{{2}}}">{{#if:{{#var:SlideNum}}|{{Сетка/Крафт цифры|{{#explode:{{{1}}}|,|1}}|{{{4|}}}{{#explode:{{{6|}}}|,|1}}{{{5|}}}|grid-{{#sub:{{{2|}}}|0|-1}}}}
| |
− | |{{#ifexpr:{{#len:{{#vardefineecho:slideExpld|{{#explode:{{{1}}}|,|1}}}}}}>0|[[File:Grid {{#var:slideExpld}}{{{3|}}}.png{{!}}link={{{4|}}}{{#var:slideExpld}}{{{5|}}}]]}}}}</span><!--
| |
− | * 3 предмет:
| |
− | -->{{#if:{{#var:SlideStop}}|<span class="grid-{{{2}}}">{{#ifexpr:{{#var:SlidePos}}-{{#vardefineecho:SlidePos|{{#expr:{{#pos:{{{1}}}|,|{{#var:SlidePos}}}}+1}}}}<-1|
| |
− | {{#if:{{#var:SlideNum}}|{{Сетка/Крафт цифры|{{#explode:{{{1}}}|,|2}}|{{{4|}}}{{#explode:{{{6|}}}|,|2}}{{{5|}}}|grid-{{#sub:{{{2|}}}|0|-1}}}}|{{#ifexpr:{{#len:{{#vardefineecho:slideExpld|{{#explode:{{{1}}}|,|2}}}}}}>0|[[File:Grid {{#var:slideExpld}}{{{3|}}}.png{{!}}link={{{4|}}}{{#var:slideExpld}}{{{5|}}}]]}}}}}}</span>{{#ifeq:{{#var:SlidePos}}|{{#var:SlideLastPos}}|{{#vardefine:SlideStop|}}}}<!--
| |
− | * 4 предмет:
| |
− | -->{{#if:{{#var:SlideStop}}|<span class="grid-{{{2}}}">{{#ifexpr:{{#var:SlidePos}}-{{#vardefineecho:SlidePos|{{#expr:{{#pos:{{{1}}}|,|{{#var:SlidePos}}}}+1}}}}<-1|
| |
− | {{#if:{{#var:SlideNum}}|{{Сетка/Крафт цифры|{{#explode:{{{1}}}|,|3}}|{{{4|}}}{{#explode:{{{6|}}}|,|3}}{{{5|}}}|grid-{{#sub:{{{2|}}}|0|-1}}}}|{{#ifexpr:{{#len:{{#vardefineecho:slideExpld|{{#explode:{{{1}}}|,|3}}}}}}>0|[[File:Grid {{#var:slideExpld}}{{{3|}}}.png{{!}}link={{{4|}}}{{#var:slideExpld}}{{{5|}}}]]}}}}}}</span>{{#ifeq:{{#var:SlidePos}}|{{#var:SlideLastPos}}|{{#vardefine:SlideStop|}}}}<!--
| |
− | * 5 предмет:
| |
− | -->{{#if:{{#var:SlideStop}}|<span class="grid-{{{2}}}">{{#ifexpr:{{#var:SlidePos}}-{{#vardefineecho:SlidePos|{{#expr:{{#pos:{{{1}}}|,|{{#var:SlidePos}}}}+1}}}}<-1|
| |
− | {{#if:{{#var:SlideNum}}|{{Сетка/Крафт цифры|{{#explode:{{{1}}}|,|4}}|{{{4|}}}{{#explode:{{{6|}}}|,|4}}{{{5|}}}|grid-{{#sub:{{{2|}}}|0|-1}}}}|{{#ifexpr:{{#len:{{#vardefineecho:slideExpld|{{#explode:{{{1}}}|,|4}}}}}}>0|[[File:Grid {{#var:slideExpld}}{{{3|}}}.png{{!}}link={{{4|}}}{{#var:slideExpld}}{{{5|}}}]]}}}}}}</span>{{#ifeq:{{#var:SlidePos}}|{{#var:SlideLastPos}}|{{#vardefine:SlideStop|}}}}<!--
| |
− | * 6 предмет:
| |
− | -->{{#if:{{#var:SlideStop}}|<span class="grid-{{{2}}}">{{#ifexpr:{{#var:SlidePos}}-{{#vardefineecho:SlidePos|{{#expr:{{#pos:{{{1}}}|,|{{#var:SlidePos}}}}+1}}}}<-1|
| |
− | {{#if:{{#var:SlideNum}}|{{Сетка/Крафт цифры|{{#explode:{{{1}}}|,|5}}|{{{4|}}}{{#explode:{{{6|}}}|,|5}}{{{5|}}}|grid-{{#sub:{{{2|}}}|0|-1}}}}|{{#ifexpr:{{#len:{{#vardefineecho:slideExpld|{{#explode:{{{1}}}|,|5}}}}}}>0|[[File:Grid {{#var:slideExpld}}{{{3|}}}.png{{!}}link={{{4|}}}{{#var:slideExpld}}{{{5|}}}]]}}}}}}</span>{{#ifeq:{{#var:SlidePos}}|{{#var:SlideLastPos}}||}}}}}}}}}}}}</includeonly><noinclude>
| |
− | [[Категория:Шаблоны]]
| |
− | [[Категория:Шаблоны сетки]]
| |
− | </noinclude>
| |