Difference between revisions of "Template:Grid/Crafting Square Slide"

From Craftland Minecraft Aether Server
Jump to: navigation, search
(Copyed From Minecraftwiki.net)
 
(Replaced content with "//deleted...")
Line 1: Line 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|{{Grid/Crafting Square 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>}}|<!--
+
//deleted...
*  1st Item:
+
--><span class="grid-{{{2}}} active">{{#if:{{#vardefineecho:SlideNum|{{#ifeq:{{#sub:{{{2|}}}|-7}}|numbers|1}}}}|{{Grid/Crafting Square Numbers|{{#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><!--
+
*  2nd Item:
+
--><span class="grid-{{{2}}}">{{#if:{{#var:SlideNum}}|{{Grid/Crafting Square Numbers|{{#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><!--
+
*  3th Item:
+
-->{{#if:{{#var:SlideStop}}|<span class="grid-{{{2}}}">{{#ifexpr:{{#var:SlidePos}}-{{#vardefineecho:SlidePos|{{#expr:{{#pos:{{{1}}}|,|{{#var:SlidePos}}}}+1}}}}<-1|
+
{{#if:{{#var:SlideNum}}|{{Grid/Crafting Square Numbers|{{#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|}}}}<!--
+
*  4th Item:
+
-->{{#if:{{#var:SlideStop}}|<span class="grid-{{{2}}}">{{#ifexpr:{{#var:SlidePos}}-{{#vardefineecho:SlidePos|{{#expr:{{#pos:{{{1}}}|,|{{#var:SlidePos}}}}+1}}}}<-1|
+
{{#if:{{#var:SlideNum}}|{{Grid/Crafting Square Numbers|{{#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|}}}}<!--
+
*  5th Item:
+
-->{{#if:{{#var:SlideStop}}|<span class="grid-{{{2}}}">{{#ifexpr:{{#var:SlidePos}}-{{#vardefineecho:SlidePos|{{#expr:{{#pos:{{{1}}}|,|{{#var:SlidePos}}}}+1}}}}<-1|
+
{{#if:{{#var:SlideNum}}|{{Grid/Crafting Square Numbers|{{#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|}}}}<!--
+
*  6th Item:
+
-->{{#if:{{#var:SlideStop}}|<span class="grid-{{{2}}}">{{#ifexpr:{{#var:SlidePos}}-{{#vardefineecho:SlidePos|{{#expr:{{#pos:{{{1}}}|,|{{#var:SlidePos}}}}+1}}}}<-1|
+
{{#if:{{#var:SlideNum}}|{{Grid/Crafting Square Numbers|{{#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}}||[[Category:Image templates]]}}}}}}}}}}}}</includeonly><noinclude>
+
{{/doc}}
+
 
+
[[Category:Image templates|C]]
+
</noinclude>
+

Revision as of 23:55, 17 June 2012

//deleted...