Template:Grid/Crafting Table: Difference between revisions

m (1 revision)
No edit summary
Line 1: Line 1:
<includeonly>{| cellpadding="0" cellspacing="0" class="grid-Crafting_Table"
<includeonly><div class="craftgrid" 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><!-- -->{{#if:{{{A1|}}}|<div style="left:14px; top:9px; 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}}}]] </div>}}<!-- -->{{#if:{{{A2|}}}|<div style="left:14px; top:45px; width:32px; height:32px; position:absolute;"> [[Image:{{#if:{{{A2-image|}}}|{{{A2-image}}}|Grid_{{{A2}}}.png}}|32px|link={{#if:{{{A2-link|}}}|{{{A2-link}}}|{{{A2}}}}}|alt={{{A2}}}]] </div>}}<!-- -->{{#if:{{{A3|}}}|<div style="left:14px; top:81px; width:32px; height:32px; position:absolute;"> [[Image:{{#if:{{{A3-image|}}}|{{{A3-image}}}|Grid_{{{A3}}}.png}}|32px|link={{#if:{{{A3-link|}}}|{{{A3-link}}}|{{{A3}}}}}|alt={{{A3}}}]] </div>}}<!-- -->{{#if:{{{B1|}}}|<div style="left:50px; top:9px; width:32px; height:32px; position:absolute;"> [[Image:{{#if:{{{B1-image|}}}|{{{B1-image}}}|Grid_{{{B1}}}.png}}|32px|link={{#if:{{{B1-link|}}}|{{{B1-link}}}|{{{B1}}}}}|alt={{{B1}}}]] </div>}}<!-- -->{{#if:{{{B2|}}}|<div style="left:50px; top:45px; width:32px; height:32px; position:absolute;"> [[Image:{{#if:{{{B2-image|}}}|{{{B2-image}}}|Grid_{{{B2}}}.png}}|32px|link={{#if:{{{B2-link|}}}|{{{B2-link}}}|{{{B2}}}}}|alt={{{B2}}}]] </div>}}<!-- -->{{#if:{{{B3|}}}|<div style="left:50px; top:81px; width:32px; height:32px; position:absolute;"> [[Image:{{#if:{{{B3-image|}}}|{{{B3-image}}}|Grid_{{{B3}}}.png}}|32px|link={{#if:{{{B3-link|}}}|{{{B3-link}}}|{{{B3}}}}}|alt={{{B3}}}]] </div>}}<!-- -->{{#if:{{{C1|}}}|<div style="left:86px; top:9px; width:32px; height:32px; position:absolute;"> [[Image:{{#if:{{{C1-image|}}}|{{{C1-image}}}|Grid_{{{C1}}}.png}}|32px|link={{#if:{{{C1-link|}}}|{{{C1-link}}}|{{{C1}}}}}|alt={{{C1}}}]] </div>}}<!-- -->{{#if:{{{C2|}}}|<div style="left:86px; top:45px; width:32px; height:32px; position:absolute;"> [[Image:{{#if:{{{C2-image|}}}|{{{C2-image}}}|Grid_{{{C2}}}.png}}|32px|link={{#if:{{{C2-link|}}}|{{{C2-link}}}|{{{C2}}}}}|alt={{{C2}}}]] </div>}}<!-- -->{{#if:{{{C3|}}}|<div style="left:86px; top:81px; width:32px; height:32px; position:absolute;"> [[Image:{{#if:{{{C3-image|}}}|{{{C3-image}}}|Grid_{{{C3}}}.png}}|32px|link={{#if:{{{C3-link|}}}|{{{C3-link}}}|{{{C3}}}}}|alt={{{C3}}}]] </div>}}<!-- -->{{#if:{{{Output|}}}|<div style="left:202px; top:45px; width:32px; height:32px; position:absolute;"> [[Image:{{#if:{{{Output-image|}}}|{{{Output-image}}}|Grid_{{{Output|}}}.png}}|32px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}]] </div>}}<!-- -->{{#if:{{{OA|}}}| <div style="left:210px; top:65px; width:64px; height:24px; position:absolute; overflow:hidden;"> {{Grid/Crafting Square Numbers|{{{OA|}}}                }} </div> }}</div></div>{{#if:{{{nobreak|}}}||<br style="clear: left" />}}</includeonly><noinclude> {{documentation}} [[Category:Image templates|C]][[Category:Templates|C]]</noinclude>
|-
| {{Grid|mod={{#if: {{{Mod|}}} | {{#if: {{{MA1|}}} | {{{Mod}}} }} }} |{{#if: {{{MA1|}}} | {{{MA1}}} | {{{A1|}}} }}}}
| {{Grid|mod={{#if: {{{Mod|}}} | {{#if: {{{MB1|}}} | {{{Mod}}} }} }} |{{#if: {{{MB1|}}} | {{{MB1}}} | {{{B1|}}} }}}}
| {{Grid|mod={{#if: {{{Mod|}}} | {{#if: {{{MC1|}}} | {{{Mod}}} }} }} |{{#if: {{{MC1|}}} | {{{MC1}}} | {{{C1|}}} }}}}
| rowspan="2" class="arrow" | [[File:Grid layout {{#if: {{{Arrow|}}} | {{{Arrow}}} ({{{Mod}}}) | Arrow (small) }}.png|link=]]
| rowspan="3" | {{Grid|mod={{#if: {{{Mod|}}} | {{#if: {{{MOutput|}}} | {{{Mod}}} }} }} |{{#if: {{{MOutput|}}} | {{{MOutput}}} | {{{Output|}}} }}|{{{OA|}}}|class=output}}
|-
| {{Grid|mod={{#if: {{{Mod|}}} | {{#if: {{{MA2|}}} | {{{Mod}}} }} }} |{{#if: {{{MA2|}}} | {{{MA2}}} | {{{A2|}}} }}}}
| {{Grid|mod={{#if: {{{Mod|}}} | {{#if: {{{MB2|}}} | {{{Mod}}} }} }} |{{#if: {{{MB2|}}} | {{{MB2}}} | {{{B2|}}} }}}}
| {{Grid|mod={{#if: {{{Mod|}}} | {{#if: {{{MC2|}}} | {{{Mod}}} }} }} |{{#if: {{{MC2|}}} | {{{MC2}}} | {{{C2|}}} }}}}
|-
| {{Grid|mod={{#if: {{{Mod|}}} | {{#if: {{{MA3|}}} | {{{Mod}}} }} }} |{{#if: {{{MA3|}}} | {{{MA3}}} | {{{A3|}}} }}}}
| {{Grid|mod={{#if: {{{Mod|}}} | {{#if: {{{MB3|}}} | {{{Mod}}} }} }} |{{#if: {{{MB3|}}} | {{{MB3}}} | {{{B3|}}} }}}}
| {{Grid|mod={{#if: {{{Mod|}}} | {{#if: {{{MC3|}}} | {{{Mod}}} }} }} |{{#if: {{{MC3|}}} | {{{MC3}}} | {{{C3|}}} }}}}
| class="shapeless" | {{#if: {{{shapeless|}}} | <span title="This recipe is shapeless; the inputs may be placed in any arrangement in the crafting grid.">[[File:Grid layout Shapeless.png|link=]]</span> }}
|}</includeonly><noinclude>
{{/doc}}
[[Category:Image templates|C]]
</noinclude>

Revision as of 19:11, 22 November 2012

[edit] [history] [purge] Documentation icon Template documentation

This template is used to create a grid that looks similar to the Crafting Table's GUI screen.

Notes

Items in the grid are set by parameters A1 to C3 in the following formation:

  A1,B1,C1
  A2,B2,C2
  A3,B3,C3

Each item can have a custom image by setting the "-image" parameter. For Example: A2-image would set a custom image for item A2. If this parameter is omitted, the template will attempt to use Grid item.png. For Example: If C2 was "Generator", then the default image would be "Grid Generator.png".

Each item can have a custom link by setting the "-link" parameter. For Example: A2-link would set a custom link for item A2. If this parameter is omitted, the template will attempt to use [[item]]. For Example: If C2 was "Generator", then the image would try to link to [[Generator]].

Copying the template is easier than typing it out every time, just fill in the blanks or leave them empty:

{{Grid/Crafting Table
|A1= |B1= |C1=
|A2= |B2= |C2=
|A3= |B3= |C3=
|Output= |OA=
}}

Usage

{{Grid/Crafting Table
|A1=Rubber  |B1=Copper |C1=Rubber
|A2=Rubber  |B2=Copper |C2=Rubber
|A3=Rubber  |B3=Copper |C3=Rubber
|Output=Cable |OA=6
}}
produces
Rubber
Rubber
Rubber
Copper
Copper
Copper
Rubber
Rubber
Rubber
Copper Cable
GridNumbersCSS.png

The OA field accepts 1-99.

Uploading

When uploading mod images, the following standard is used:

item name.png -- A 16x16 two dimensional image of the item.

Grid_item name.png -- A 32x32 image of the item as it appears in a player's inventory.

item name_ig.png -- A larger image of the item placed in the game world (for blocks).

See also

{{Grid/Furnace}} {{Grid/Machine}}

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Need wiki hosting?

Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.

Other wikis

Indie-game wikis
Powered by Indie Wikis