Difference between revisions of "Template:Crafting grid"

From ComputerCraft Wiki
Jump to: navigation, search
(I'm tired here... (Making multiple mistakes at once... Le sigh...))
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
<div style="float:{{#if:{{{float|}}}|{{{float}}}|left}};"><div style="left:0px; top:0px; width:256px; height:132px; position:relative;">
 
<div style="float:{{#if:{{{float|}}}|{{{float}}}|left}};"><div style="left:0px; top:0px; width:256px; height:132px; position:relative;">
<div style="left:0px; top:0px; width:256px; height:132px;">[[Image:Crafting_GUI.png|256px|link=|alt=]]</div>
+
<div style="left:0px; top:0px; width:256px; height:132px;">[[Image:Empty-crafting-table.png|256px|link=|alt=]]</div>
  
 
{{#if:{{{A1|}}}|<div style="left:14px; top:9px; width:32px; height:32px; position:absolute;">
 
{{#if:{{{A1|}}}|<div style="left:14px; top:9px; width:32px; height:32px; position:absolute;">

Revision as of 21:39, 12 March 2012


This is the standard Minecraft crafting grid. The code is borrowed from the IndustrialCraft wiki.

Usage:

 {{Crafting grid
 |A1=console
 |B3=console
 |Output=console
 }}
 

Results in:








The name of the images should be in the form of "grid_<name of the item>.png".