Difference between revisions of "Template:Crafting grid"

From ComputerCraft Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
<div style="float:{{#if:{{{float|}}}|{{{float}}}|left}};"><div style="left:0px; top:0px; width:256px; height:114px; position:relative; clear: both;">
 
<div style="float:{{#if:{{{float|}}}|{{{float}}}|left}};"><div style="left:0px; top:0px; width:256px; height:114px; position:relative; clear: both;">
<div style="left:0px; top:0px; width:256px; height:114px;">[[Image:Empty-crafting-table.png|243px|link=|alt=]]</div>
+
<div style="left:0px; top:0px; width:256px; height:114px;">[[Image:Empty-crafting-table.png|256px|link=|alt=]]</div>
  
 
{{#if:{{{A1|}}}|<div style="left:6px; top:-4px; width:32px; height:32px; position:absolute;">
 
{{#if:{{{A1|}}}|<div style="left:6px; top:-4px; width:32px; height:32px; position:absolute;">

Revision as of 21:31, 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".