Difference between revisions of "Mine Blocks Wiki:Sandbox/SmallCrafting"

From Mine Blocks Wiki
Jump to navigation Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!

Line 2: Line 2:
 
<span class="sc-input">
 
<span class="sc-input">
 
<span class="sc-row">
 
<span class="sc-row">
{{I-slot|name={{{A1|Invisible-sprite}}}|ammount={{{A1-ammount|}}}|minetip-title={{{A1-title|{{#ifeq: {{{A1}}}|Invisible-sprite|Empty|}}}}}|minetip-text={{{A1-text|}}}|class=sb-thumb|link={{#if: {{{A1|Invisible-sprite}}}||{{{A1}}}}}}}
+
{{#switch: {{{A1-animated}}}
{{I-slot|name={{{A2|Invisible-sprite}}}|ammount={{{A2-ammount|}}}|minetip-title={{{A2-title|{{#ifeq: {{{A2}}}|Invisible-sprite|Empty|}}}}}|minetip-text={{{A2-text|}}}|class=sb-thumb|link={{#if: {{{A2|Invisible-sprite}}}||{{{A2}}}}}}}
+
| 1
 +
| yes
 +
| true = {{A-slot{{{A1-contents|}}}}}
 +
| #default = {{I-slot|name={{{A1|Invisible-sprite}}}|ammount={{{A1-ammount|}}}|minetip-title={{{A1-title|{{#ifeq: {{{A1}}}|Invisible-sprite|Empty|}}}}}|minetip-text={{{A1-text|}}}|class=sb-thumb|link={{#if: {{{A1|Invisible-sprite}}}||{{{A1}}}}}}}
 +
}}
 +
{{#switch: {{{A1-animated}}}
 +
| 1
 +
| yes
 +
| true = {{A-slot{{{A2-contents|}}}}}
 +
| #default = {{I-slot|name={{{A2|Invisible-sprite}}}|ammount={{{A2-ammount|}}}|minetip-title={{{A2-title|{{#ifeq: {{{A2}}}|Invisible-sprite|Empty|}}}}}|minetip-text={{{A2-text|}}}|class=sb-thumb|link={{#if: {{{A2|Invisible-sprite}}}||{{{A2}}}}}}}
 +
}}
 
</span>
 
</span>
 
<span class="sc-row">
 
<span class="sc-row">
{{I-slot|name={{{B1|Invisible-sprite}}}|ammount={{{B1-ammount|}}}|minetip-title={{{B1-title|{{#ifeq: {{{B1}}}|Invisible-sprite|Empty|}}}}}|minetip-text={{{B1-text|}}}|class=sb-thumb|link={{#if: {{{B1|Invisible-sprite}}}||{{{B1}}}}}}}
+
{{#switch: {{{A1-animated}}}
{{I-slot|name={{{B2|Invisible-sprite}}}|ammount={{{B2-ammount|}}}|minetip-title={{{B2-title|{{#ifeq: {{{B2}}}|Invisible-sprite|Empty|}}}}}|minetip-text={{{AB2-text|}}}|class=sb-thumb|link={{#if: {{{B2|Invisible-sprite}}}||{{{B2}}}}}}}
+
| 1
 +
| yes
 +
| true = {{A-slot{{{B1-contents|}}}}}
 +
| #default = {{I-slot|name={{{B1|Invisible-sprite}}}|ammount={{{B1-ammount|}}}|minetip-title={{{B1-title|{{#ifeq: {{{B1}}}|Invisible-sprite|Empty|}}}}}|minetip-text={{{B1-text|}}}|class=sb-thumb|link={{#if: {{{B1|Invisible-sprite}}}||{{{B1}}}}}}}
 +
}}
 +
{{#switch: {{{A1-animated}}}
 +
| 1
 +
| yes
 +
| true = {{A-slot{{{B2-contents|}}}}}
 +
| #default = {{I-slot|name={{{B2|Invisible-sprite}}}|ammount={{{B2-ammount|}}}|minetip-title={{{B2-title|{{#ifeq: {{{B2}}}|Invisible-sprite|Empty|}}}}}|minetip-text={{{AB2-text|}}}|class=sb-thumb|link={{#if: {{{B2|Invisible-sprite}}}||{{{B2}}}}}}}
 
</span>
 
</span>
 
</span>
 
</span>
Line 22: Line 41:
 
{{Project:Sandbox/SmallCrafting
 
{{Project:Sandbox/SmallCrafting
 
   | A1 = <item-name>
 
   | A1 = <item-name>
 +
  | A1-animated = <true/yes/1>?
 +
  | A1-contents =
 
   | A2 = <item-name>
 
   | A2 = <item-name>
 
   | B1 = <item-name>
 
   | B1 = <item-name>
Line 31: Line 52:
 
{{Project:Sandbox/SmallCrafting
 
{{Project:Sandbox/SmallCrafting
 
|A1=Wooden Planks
 
|A1=Wooden Planks
 +
|A2=Wooden Planks
 +
|B1=Wooden Planks
 +
|B2=Wooden Planks
 +
|output=Crafting Table
 +
}}
 +
 +
{{Project:Sandbox/SmallCrafting
 +
|A1-animated=true
 +
|A1-contents = |name1 = Wooden sword|name2 = Stone sword|name3 = Iron sword|name4 = Golden sword|name5 = Diamond sword
 
|A2=Wooden Planks
 
|A2=Wooden Planks
 
|B1=Wooden Planks
 
|B1=Wooden Planks

Revision as of 02:40, 19 December 2021

Invisible-sprite Invisible-sprite Invisible-sprite {{#switch: {{{A1-animated}}} | 1 | yes | true =

| #default = Invisible-sprite Invisible-sprite

Usage

{{Project:Sandbox/SmallCrafting | A1 = <item-name> | A1-animated = <true/yes/1>? | A1-contents = | A2 = <item-name> | B1 = <item-name> | B2 = <item-name> }}

Examples

Wooden Planks Wooden Planks Wooden Planks {{#switch: {{{A1-animated}}} | 1 | yes | true =

| #default = Wooden Planks Crafting Table

{{#switch: true | 1 | yes | true =

| #default = Wooden Planks Crafting Table