Difference between revisions of "Template:Crafting"

From ComputerCraft Wiki
Jump to: navigation, search
m
m
Line 10: Line 10:
 
  #if: {{{B3|}}} | <div style="top:72px;left:36px;width:32px;height:32px;position:absolute">[[File:Grid {{{B3}}}.png|link={{{B3}}}]]</div> }}{{
 
  #if: {{{B3|}}} | <div style="top:72px;left:36px;width:32px;height:32px;position:absolute">[[File:Grid {{{B3}}}.png|link={{{B3}}}]]</div> }}{{
 
  #if: {{{C3|}}} | <div style="top:72px;left:72px;width:32px;height:32px;position:absolute">[[File:Grid {{{C3}}}.png|link={{{C3}}}]]</div>
 
  #if: {{{C3|}}} | <div style="top:72px;left:72px;width:32px;height:32px;position:absolute">[[File:Grid {{{C3}}}.png|link={{{C3}}}]]</div>
−
}}</div></div></includeonly><noinclude>
+
}}</div></div></includeonly><noinclude>{{Documentation}}</noinclude>
−
{{Crafting
+
−
|A1=Computer
+
−
|B3=Disk_Drive
+
−
|Output=Computer
+
−
}}
+
−
{{Crafting
+
−
|A1=Computer
+
−
|B1=Computer
+
−
|C1=Computer
+
−
|A2=Computer
+
−
|B2=Computer
+
−
|C2=Computer
+
−
|A3=Computer
+
−
|B3=Computer
+
−
|C3=Computer
+
−
|Output=Computer
+
−
}}
+
−
</noinclude>
+

Revision as of 05:55, 4 August 2020

[ view | edit | history ] Documentation

This is the standard Minecraft crafting grid.

The name of the images should be in the form of "grid_<name of the item>.png". E.g. the Computer image is named "Grid_Computer.png". Clicking on it will go to the page Computer.

usage:

{{Crafting
 |A1=Computer
 |B3=Disk_Drive
 |Output=Computer
}}

result:

Empty-crafting-table.png
Grid Computer.png
Grid Computer.png
Grid Disk Drive.png