Difference between revisions of "Template:Crafting grid"
From ComputerCraft Wiki
Line 3: | Line 3: | ||
<div style="left:0px; top:0px; width:256px; height:114px;">[[Image:Empty-crafting-table.png|256px|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: | + | {{#if:{{{A1|}}}|<div style="left:6px; top:0px; width:32px; height:32px; position:absolute;"> |
[[Image:{{#if:{{{A1-image|}}}|{{{A1-image}}}|Grid_{{{A1}}}.png}}|32px|link={{#if:{{{A1-link|}}}|{{{A1-link}}}|{{{A1}}}}}|alt={{{A1}}}]] | [[Image:{{#if:{{{A1-image|}}}|{{{A1-image}}}|Grid_{{{A1}}}.png}}|32px|link={{#if:{{{A1-link|}}}|{{{A1-link}}}|{{{A1}}}}}|alt={{{A1}}}]] | ||
</div>}} | </div>}} |
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".