Difference between revisions of "Template:Crafting"
From ComputerCraft Wiki
Magiczocker (Talk | contribs) m |
Magiczocker (Talk | contribs) m |
||
Line 6: | Line 6: | ||
#if: {{{B2|}}} | <div style="top:36px;left:36px;width:32px;height:32px;position:absolute">[[File:Grid {{{B2}}}.png|link={{{B2}}}]]</div> }}{{ | #if: {{{B2|}}} | <div style="top:36px;left:36px;width:32px;height:32px;position:absolute">[[File:Grid {{{B2}}}.png|link={{{B2}}}]]</div> }}{{ | ||
#if: {{{C2|}}} | <div style="top:36px;left:72px;width:32px;height:32px;position:absolute">[[File:Grid {{{C2}}}.png|link={{{C2}}}]]</div> }}{{ | #if: {{{C2|}}} | <div style="top:36px;left:72px;width:32px;height:32px;position:absolute">[[File:Grid {{{C2}}}.png|link={{{C2}}}]]</div> }}{{ | ||
− | #if: {{{Output|}}} | <div style="top:36px;left:188px;width:32px;height:32px;position:absolute">[[File:Grid {{{Output}}}.png|link={{{Output}}}]]</div> }}{{ | + | #if: {{{Output|}}} | <div style="top:36px;left:188px;width:32px;height:32px;position:absolute">[[File:Grid {{{Output}}}.png|link={{#if:{{{Output-link|}}}|Output-link|{{{Output}}}}}]]</div> }}{{ |
#if: {{{A3|}}} | <div style="top:72px;width:32px;height:32px;position:absolute">[[File:Grid {{{A3}}}.png|link={{{A3}}}]]</div> }}{{ | #if: {{{A3|}}} | <div style="top:72px;width:32px;height:32px;position:absolute">[[File:Grid {{{A3}}}.png|link={{{A3}}}]]</div> }}{{ | ||
#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>{{Documentation}}</noinclude> | }}</div></div></includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 06:03, 4 August 2020
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: