Modèle:Grid/Brewing Stand : Différence entre versions

De Wiki'speria
Aller à : navigation, rechercher
(Page créée avec « <includeonly><div style="position: relative; width: 144px">{{#vardefine:active|{{#switch: {{#if: {{{Input|}}} | I }}{{#if: {{{Output1|}}} | O }}{{#if: {{{Output2|}}} | O }}{{... »)
 
 
(5 révisions intermédiaires par un autre utilisateur non affichées)
Ligne 1 : Ligne 1 :
<includeonly><div style="position: relative; width: 144px">{{#vardefine:active|{{#switch: {{#if: {{{Input|}}} | I }}{{#if: {{{Output1|}}} | O }}{{#if: {{{Output2|}}} | O }}{{#if: {{{Output3|}}} | O }} | IO | IOO | IOOO = 1 | 0 }} }}
+
<includeonly><div style="position: relative; width: 144px">{{#vardefine:active|{{#switch: {{#if: {{{Input|}}} | I }}{{#if: {{{Bouteille1|}}} | O }}{{#if: {{{Bouteille2|}}} | O }}{{#if: {{{Bouteille3|}}} | O }} | IO | IOO | IOOO = 1 | 0 }} }}
{|cellpadding="0" cellspacing="0" style="background: #C6C6C6; border: outset 2px #999; padding: 6px"
+
{|cellpadding="0" cellspacing="0" style="background: #e1dcd1; border: solid 2px #6e5749; padding: 6px;"
 
|-
 
|-
 
|style="padding: 0; border: none; text-align: right"|[[File:Grid layout Brewing Bubbles{{#ifeq: {{#var:active}} | 0 | _(In-active).png | .gif}}|link=]]
 
|style="padding: 0; border: none; text-align: right"|[[File:Grid layout Brewing Bubbles{{#ifeq: {{#var:active}} | 0 | _(In-active).png | .gif}}|link=]]
 
|style="padding: 3px 0; vertical-align: top; border: none"|<div style="position: relative" {{#if:{{#pos:{{{Input|}}}|,}}|class="grid-input-slide"}}>[[File:Grid layout None (small).png|link=]]{{#if:{{{Input|}}}|{{Grid/Crafting Square Slide|{{{Input}}},|input}} }}</div>
 
|style="padding: 3px 0; vertical-align: top; border: none"|<div style="position: relative" {{#if:{{#pos:{{{Input|}}}|,}}|class="grid-input-slide"}}>[[File:Grid layout None (small).png|link=]]{{#if:{{{Input|}}}|{{Grid/Crafting Square Slide|{{{Input}}},|input}} }}</div>
 
|style="padding: 0; border: none; text-align: left"|[[File:Grid layout Brewing Arrow{{#ifeq: {{#var:active}} | 0 | _(In-active)}}.png|link=]]
 
|style="padding: 0; border: none; text-align: left"|[[File:Grid layout Brewing Arrow{{#ifeq: {{#var:active}} | 0 | _(In-active)}}.png|link=]]
 +
| rowspan="3" width="40" align="center" style="border:none; padding:0" | [[File:Grid layout Arrow (small).png|link=]]
 +
| rowspan="3" style="border:none; padding:0" | <div style="position: relative" {{#if:{{#pos:{{{Output|{{{MOutput|}}}}}}|,}}|class="grid-output-slide"}}>[[File:Grid layout None (large).png|link=]]{{#if:{{{Output|}}}|{{Grid/Crafting_Square_Slide|{{{Output}}},|output|||{{{lng|}}}}}}}{{#if:{{{NB|}}}|{{Grid/Crafting_Square_Slide|{{{NB}}},|output-numbers|||{{{lng|}}}|{{{Output}}}}}}}</div>
 
|-
 
|-
|style="padding: 4px 10px 14px 0; border: none"|<div style="position: relative" {{#if:{{#pos:{{{Output1|}}}|,}}|class="grid-input-slide"}}>[[File:Grid layout bottle.png|link=]]{{#if:{{{Output1|}}}|{{Grid/Crafting Square Slide|{{{Output1}}},|input}} }}</div>
+
|style="padding: 4px 10px 14px 0; border: none"|<div style="position: relative" {{#if:{{#pos:{{{Bouteille1|}}}|,}}|class="grid-input-slide"}}>[[File:Grid layout bottle.png|link=]]{{#if:{{{Bouteille1|}}}|{{Grid/Crafting Square Slide|{{{Bouteille1}}},|input}} }}</div>
|style="padding: 18px 0 0 0; border: none"|<div style="position: relative" {{#if:{{#pos:{{{Output2|}}}|,}}|class="grid-input-slide"}}>[[File:Grid layout bottle.png|link=]]{{#if:{{{Output2|}}}|{{Grid/Crafting Square Slide|{{{Output2}}},|input}} }}</div>
+
|style="padding: 18px 0 0 0; border: none"|<div style="position: relative" {{#if:{{#pos:{{{Bouteille2|}}}|,}}|class="grid-input-slide"}}>[[File:Grid layout bottle.png|link=]]{{#if:{{{Bouteille2|}}}|{{Grid/Crafting Square Slide|{{{Bouteille2}}},|input}} }}</div>
|style="padding: 4px 0 14px 10px; border: none"|<div style="position: relative" {{#if:{{#pos:{{{Output3|}}}|,}}|class="grid-input-slide"}}>[[File:Grid layout bottle.png|link=]]{{#if:{{{Output3|}}}|{{Grid/Crafting Square Slide|{{{Output3}}},|input}} }}</div>
+
|style="padding: 4px 0 14px 10px; border: none"|<div style="position: relative" {{#if:{{#pos:{{{Bouteille3|}}}|,}}|class="grid-input-slide"}}>[[File:Grid layout bottle.png|link=]]{{#if:{{{Bouteille3|}}}|{{Grid/Crafting Square Slide|{{{Bouteille3}}},|input}} }}</div>
 
|-
 
|-
 
|style="border: none; padding: 0; position: absolute; bottom: 42px; left: 42px" colspan="3"|[[File:Grid layout Brewing Paths.png|link=]]
 
|style="border: none; padding: 0; position: absolute; bottom: 42px; left: 42px" colspan="3"|[[File:Grid layout Brewing Paths.png|link=]]
|}</div></includeonly><noinclude>
+
|}</div>{{#if:{{{Input|}}}{{{Bouteille1|}}}{{{Bouteille2|}}}{{{Bouteille3|}}}{{{Output|}}}| |[[Category:Table de Craft Vide]]}}</includeonly><noinclude>
 
+
  <nowiki>{{Grid/Brewing Stand
 
+
    |Input=  Pastèque Chatoyante
</noinclude>
+
    |Bouteille1= 
 +
    |Bouteille2= Pomme
 +
    |Bouteille3=
 +
    |Output= Sable
 +
  }}</nowiki>
 +
Affichera :
 +
  {{Grid/Brewing Stand
 +
    |Input=  Pastèque Chatoyante
 +
    |Bouteille1= 
 +
    |Bouteille2= Pomme
 +
    |Bouteille3=
 +
    |Output= Sable
 +
  }}
 +
[[Category:Modèle]]</noinclude>

Version actuelle datée du 25 octobre 2018 à 02:40

  {{Grid/Brewing Stand
     |Input=  Pastèque Chatoyante
     |Bouteille1=  
     |Bouteille2= Pomme
     |Bouteille3= 
     |Output= Sable
   }}

Affichera :

Grid layout Brewing Bubbles.gif
Grid layout None (small).pngGrille Pastèque Chatoyante.png
Grid layout Brewing Arrow.png Grid layout Arrow (small).png
Grid layout None (large).pngGrille Sable.png
Grid layout bottle.png
Grid layout bottle.pngGrille Pomme.png
Grid layout bottle.png
Grid layout Brewing Paths.png