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!

(Amount is never required for inputs (as far as I know), so there's no need to support it in here. And since everything in here should keep the exact same format, support for custom sizes and classes is dropped too, which will improve performance and code size.)
(Replaced content with "{{Delete|Moved to Template:CraftSmall}}")
Tag: Replaced
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="sc-container pixel-image">
+
{{Delete|Moved to [[Template:CraftSmall]]}}
<span class="sc-input">
 
<span class="sc-row">
 
{{#switch: {{{A1-animated}}}| true ={{A-slot|is-inline=true|name1={{{A1-name1}}}|durability={{{A1-durability1|0}}}{{#if: {{{A1-link1|}}}|{{Pipe}}link1={{{A1-link1|}}}}}{{#if: {{{A1-tooltip1|}}}|{{Pipe}}tooltip1={{{A1-tooltip1|}}}}}{{#if: {{{A1-minetip-title1|}}}|{{Pipe}}minetip-title1={{{A1-minetip-title1|}}}}}{{#if: {{{A1-minetip-text1|}}}|{{Pipe}}minetip-text1={{{A1-minetip-text1|}}}}}|name2={{{A1-name2|}}}|durability={{{A1-durability2|0}}}{{#if: {{{A1-link2|}}}|{{Pipe}}link2={{{A1-link2|}}}}}{{#if: {{{A1-tooltip2|}}}|{{Pipe}}tooltip2={{{A1-tooltip2|}}}}}{{#if: {{{A1-minetip-title2|}}}|{{Pipe}}minetip-title2={{{A1-minetip-title2|}}}}}{{#if: {{{A1-minetip-text2|}}}|{{Pipe}}minetip-text2={{{A1-minetip-text2|}}}}}|name3={{{A1-name3|}}}|durability={{{A1-durability3|0}}}{{#if: {{{A1-link3|}}}|{{Pipe}}link3={{{A1-link3|}}}}}{{#if: {{{A1-tooltip3|}}}|{{Pipe}}tooltip3={{{A1-tooltip3|}}}}}{{#if: {{{A1-minetip-title3|}}}|{{Pipe}}minetip-title3={{{A1-minetip-title3|}}}}}{{#if: {{{A1-minetip-text3|}}}|{{Pipe}}minetip-text3={{{A1-minetip-text3|}}}}}|name4={{{A1-name4|}}}{{#if: |durability={{{A1-durability4|0}}}{{#if: {{{A1-link4|}}}|{{Pipe}}link4={{{A1-link4|}}}}}{{#if: {{{A1-tooltip4|}}}|{{Pipe}}tooltip4={{{A1-tooltip4|}}}}}{{#if: {{{A1-minetip-title4|}}}|{{Pipe}}minetip-title4={{{A1-minetip-title4|}}}}}{{#if: {{{A1-minetip-text4|}}}|{{Pipe}}minetip-text4={{{A1-minetip-text4|}}}}}|name5={{{A1-name5|}}}|durability={{{A1-durability5|0}}}{{#if: {{{A1-link5|}}}|{{Pipe}}link5={{{A1-link5|}}}}}{{#if: {{{A1-tooltip5|}}}|{{Pipe}}tooltip5={{{A1-tooltip5|}}}}}{{#if: {{{A1-minetip-title5|}}}|{{Pipe}}minetip-title5={{{A1-minetip-title5|}}}}}{{#if: {{{A1-minetip-text5|}}}|{{Pipe}}minetip-text5={{{A1-minetip-text5|}}}}}|name6={{{A1-name6|}}}|durability={{{A1-durability6|0}}}{{#if: {{{A1-link6|}}}|{{Pipe}}link6={{{A1-link6|}}}}}{{#if: {{{A1-tooltip6|}}}|{{Pipe}}tooltip6={{{A1-tooltip6|}}}}}{{#if: {{{A1-minetip-title6|}}}|{{Pipe}}minetip-title6={{{A1-minetip-title6|}}}}}{{#if: {{{A1-minetip-text6|}}}|{{Pipe}}minetip-text6={{{A1-minetip-text6|}}}}}<!--
 
 
 
{{#if: {{{A1-name7|}}}|{{Pipe}}name7={{{A1-name7|}}}}}{{#if: {{{A1-durability7|}}}|{{Pipe}}durability7={{{A1-durability7|}}}}}{{#if: {{{A1-link7|}}}|{{Pipe}}link7={{{A1-link7|}}}}}{{#if: {{{A1-tooltip7|}}}|{{Pipe}}tooltip7={{{A1-tooltip7|}}}}}{{#if: {{{A1-minetip-title7|}}}|{{Pipe}}minetip-title7={{{A1-minetip-title7|}}}}}{{#if: {{{A1-minetip-text7|}}}|{{Pipe}}minetip-text7={{{A1-minetip-text7|}}}}}{{#if: {{{A1-name8|}}}|{{Pipe}}name8={{{A1-name8|}}}}}{{#if: {{{A1-durability8|}}}|{{Pipe}}durability8={{{A1-durability8|}}}}}{{#if: {{{A1-link8|}}}|{{Pipe}}link8={{{A1-link8|}}}}}{{#if: {{{A1-tooltip8|}}}|{{Pipe}}tooltip8={{{A1-tooltip8|}}}}}{{#if: {{{A1-minetip-title8|}}}|{{Pipe}}minetip-title8={{{A1-minetip-title8|}}}}}{{#if: {{{A1-minetip-text8|}}}|{{Pipe}}minetip-text8={{{A1-minetip-text8|}}}}}{{#if: {{{A1-name9|}}}|{{Pipe}}name9={{{A1-name9|}}}}}{{#if: {{{A1-durability9|}}}|{{Pipe}}durability9={{{A1-durability9|}}}}}{{#if: {{{A1-link9|}}}|{{Pipe}}link9={{{A1-link9|}}}}}{{#if: {{{A1-tooltip9|}}}|{{Pipe}}tooltip9={{{A1-tooltip9|}}}}}{{#if: {{{A1-minetip-title9|}}}|{{Pipe}}minetip-title9={{{A1-minetip-title9|}}}}}{{#if: {{{A1-minetip-text9|}}}|{{Pipe}}minetip-text9={{{A1-minetip-text9|}}}}}{{#if: {{{A1-name10|}}}|{{Pipe}}name10={{{A1-name10|}}}}}{{#if: {{{A1-durability10|}}}|{{Pipe}}durability10={{{A1-durability10|}}}}}{{#if: {{{A1-link10|}}}|{{Pipe}}link10={{{A1-link10|}}}}}{{#if: {{{A1-tooltip10|}}}|{{Pipe}}tooltip10={{{A1-tooltip10|}}}}}{{#if: {{{A1-minetip-title10|}}}|{{Pipe}}minetip-title10={{{A1-minetip-title10|}}}}}{{#if: {{{A1-minetip-text10|}}}|{{Pipe}}minetip-text10={{{A1-minetip-text10|}}}}}{{#if: {{{A1-name11|}}}|{{Pipe}}name11={{{A1-name11|}}}}}{{#if: {{{A1-durability11|}}}|{{Pipe}}durability11={{{A1-durability11|}}}}}{{#if: {{{A1-link11|}}}|{{Pipe}}link11={{{A1-link11|}}}}}{{#if: {{{A1-tooltip11|}}}|{{Pipe}}tooltip11={{{A1-tooltip11|}}}}}{{#if: {{{A1-minetip-title11|}}}|{{Pipe}}minetip-title11={{{A1-minetip-title11|}}}}}{{#if: {{{A1-minetip-text11|}}}|{{Pipe}}minetip-text11={{{A1-minetip-text11|}}}}}{{#if: {{{A1-name12|}}}|{{Pipe}}name12={{{A1-name12|}}}}}{{#if: {{{A1-durability12|}}}|{{Pipe}}durability12={{{A1-durability12|}}}}}{{#if: {{{A1-link12|}}}|{{Pipe}}link12={{{A1-link12|}}}}}{{#if: {{{A1-tooltip12|}}}|{{Pipe}}tooltip12={{{A1-tooltip12|}}}}}{{#if: {{{A1-minetip-title12|}}}|{{Pipe}}minetip-title12={{{A1-minetip-title12|}}}}}{{#if: {{{A1-minetip-text12|}}}|{{Pipe}}minetip-text12={{{A1-minetip-text12|}}}}}{{#if: {{{A1-name13|}}}|{{Pipe}}name13={{{A1-name13|}}}}}{{#if: {{{A1-durability13|}}}|{{Pipe}}durability13={{{A1-durability13|}}}}}{{#if: {{{A1-link13|}}}|{{Pipe}}link13={{{A1-link13|}}}}}{{#if: {{{A1-tooltip13|}}}|{{Pipe}}tooltip13={{{A1-tooltip13|}}}}}{{#if: {{{A1-minetip-title13|}}}|{{Pipe}}minetip-title13={{{A1-minetip-title13|}}}}}{{#if: {{{A1-minetip-text13|}}}|{{Pipe}}minetip-text13={{{A1-minetip-text13|}}}}}{{#if: {{{A1-name14|}}}|{{Pipe}}name14={{{A1-name14|}}}}}{{#if: {{{A1-durability14|}}}|{{Pipe}}durability14={{{A1-durability14|}}}}}{{#if: {{{A1-link14|}}}|{{Pipe}}link14={{{A1-link14|}}}}}{{#if: {{{A1-tooltip14|}}}|{{Pipe}}tooltip14={{{A1-tooltip14|}}}}}{{#if: {{{A1-minetip-title14|}}}|{{Pipe}}minetip-title14={{{A1-minetip-title14|}}}}}{{#if: {{{A1-minetip-text14|}}}|{{Pipe}}minetip-text14={{{A1-minetip-text14|}}}}}{{#if: {{{A1-name15|}}}|{{Pipe}}name15={{{A1-name15|}}}}}{{#if: {{{A1-durability15|}}}|{{Pipe}}durability15={{{A1-durability15|}}}}}{{#if: {{{A1-link15|}}}|{{Pipe}}link15={{{A1-link15|}}}}}{{#if: {{{A1-tooltip15|}}}|{{Pipe}}tooltip15={{{A1-tooltip15|}}}}}{{#if: {{{A1-minetip-title15|}}}|{{Pipe}}minetip-title15={{{A1-minetip-title15|}}}}}{{#if: {{{A1-minetip-text15|}}}|{{Pipe}}minetip-text15={{{A1-minetip-text15|}}}}}{{#if: {{{A1-name16|}}}|{{Pipe}}name16={{{A1-name16|}}}}}{{#if: {{{A1-durability16|}}}|{{Pipe}}durability16={{{A1-durability16|}}}}}{{#if: {{{A1-link16|}}}|{{Pipe}}link16={{{A1-link16|}}}}}{{#if: {{{A1-tooltip16|}}}|{{Pipe}}tooltip16={{{A1-tooltip16|}}}}}{{#if: {{{A1-minetip-title16|}}}|{{Pipe}}minetip-title16={{{A1-minetip-title16|}}}}}{{#if: {{{A1-minetip-text16|}}}|{{Pipe}}minetip-text16={{{A1-minetip-text16|}}}}}-->|}}| #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}}}}}}}
 
}}
 
{{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 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}}}}}}}
 
{{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 class="sc-output">
 
{{I-slot|name={{{output|Invisible-sprite}}}|ammount={{{output-ammount|}}}|minetip-title={{{output-title|{{#ifeq: {{{output}}}|Invisible-sprite|Empty|}}}}}|minetip-text={{{output-text|}}}|class=sb-thumb|link={{#if: {{{output|Invisible-sprite}}}||{{{output}}}}}}}
 
</span>
 
{{#if: {{{shapeless|yes}}}
 
  |<!-- Then --><span class="sc-icons"></span>
 
  |<!-- Else -->
 
}}
 
</div><noinclude>
 
== Usage ==
 
<code><nowiki>
 
{{Project:Sandbox/SmallCrafting
 
  | A1 = <item-name>
 
  | A1-animated = <true/yes/1>?
 
  | A1-contents =
 
  | A2 = <item-name>
 
  | B1 = <item-name>
 
  | B2 = <item-name>
 
}}
 
</nowiki></code>
 
 
 
== Examples ==
 
{{Project:Sandbox/SmallCrafting
 
|A1=Wooden Planks
 
|A2=Wooden Planks
 
|B1=Wooden Planks
 
|B2=Wooden Planks
 
|output=Crafting Table
 
}}
 
 
 
{{Project:Sandbox/SmallCrafting
 
|A1-animated= true
 
|A1-name1= Wooden sword
 
|A1-durability1 = 10
 
|A1-name2= Stone sword
 
|A1-durability2 = 20
 
|A1-name3= Iron sword
 
|A1-durability3 = 30
 
|A1-name4= Golden sword
 
|A1-durability4 = 40
 
|A1-name5= Diamond sword
 
|A1-durability5 = 50
 
|A2=Wooden Planks
 
|B1=Wooden Planks
 
|B2=Wooden Planks
 
|output=Crafting Table
 
}}
 
</noinclude>
 

Latest revision as of 11:00, 3 January 2022


This page is a candidate for deletion!

Reason: Moved to Template:CraftSmall. If you disagree with its deletion, please explain why at Category talk:Candidates for deletion or improve the page and remove the {{delete}} tag.

Remember to check what links here and the page history before deleting.