Vorlage:Grid/Crafting Table

Aus 1,5 Liter Flasche - Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Zeile 2: Zeile 2:
 
<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:Crafting_GUI.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:1px; 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>}}
{{#if:{{{A2|}}}|<div style="left:14px; top:45px; width:32px; height:32px; position:absolute;">
+
{{#if:{{{A2|}}}|<div style="left:14px; top:36px; 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}}}]]
 
[[Image:{{#if:{{{A2-image|}}}|{{{A2-image}}}|Grid_{{{A2}}}.png}}|32px|link={{#if:{{{A2-link|}}}|{{{A2-link}}}|{{{A2}}}}}|alt={{{A2}}}]]
 
</div>}}
 
</div>}}
{{#if:{{{A3|}}}|<div style="left:14px; top:81px; width:32px; height:32px; position:absolute;">
+
{{#if:{{{A3|}}}|<div style="left:14px; top:72px; 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}}}]]
 
[[Image:{{#if:{{{A3-image|}}}|{{{A3-image}}}|Grid_{{{A3}}}.png}}|32px|link={{#if:{{{A3-link|}}}|{{{A3-link}}}|{{{A3}}}}}|alt={{{A3}}}]]
 
</div>}}
 
</div>}}
Zeile 15: Zeile 15:
 
[[Image:{{#if:{{{B1-image|}}}|{{{B1-image}}}|Grid_{{{B1}}}.png}}|32px|link={{#if:{{{B1-link|}}}|{{{B1-link}}}|{{{B1}}}}}|alt={{{B1}}}]]
 
[[Image:{{#if:{{{B1-image|}}}|{{{B1-image}}}|Grid_{{{B1}}}.png}}|32px|link={{#if:{{{B1-link|}}}|{{{B1-link}}}|{{{B1}}}}}|alt={{{B1}}}]]
 
</div>}}
 
</div>}}
{{#if:{{{B2|}}}|<div style="left:50px; top:45px; width:32px; height:32px; position:absolute;">
+
{{#if:{{{B2|}}}|<div style="left:50px; top:36px; 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}}}]]
 
[[Image:{{#if:{{{B2-image|}}}|{{{B2-image}}}|Grid_{{{B2}}}.png}}|32px|link={{#if:{{{B2-link|}}}|{{{B2-link}}}|{{{B2}}}}}|alt={{{B2}}}]]
 
</div>}}
 
</div>}}
{{#if:{{{B3|}}}|<div style="left:50px; top:81px; width:32px; height:32px; position:absolute;">
+
{{#if:{{{B3|}}}|<div style="left:50px; top:72px; 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}}}]]
 
[[Image:{{#if:{{{B3-image|}}}|{{{B3-image}}}|Grid_{{{B3}}}.png}}|32px|link={{#if:{{{B3-link|}}}|{{{B3-link}}}|{{{B3}}}}}|alt={{{B3}}}]]
 
</div>}}
 
</div>}}
 
 
{{#if:{{{C1|}}}|<div style="left:86px; top:9px; width:32px; height:32px; position:absolute;">
+
{{#if:{{{C1|}}}|<div style="left:86px; top:1px; 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}}}]]
 
[[Image:{{#if:{{{C1-image|}}}|{{{C1-image}}}|Grid_{{{C1}}}.png}}|32px|link={{#if:{{{C1-link|}}}|{{{C1-link}}}|{{{C1}}}}}|alt={{{C1}}}]]
 
</div>}}
 
</div>}}
{{#if:{{{C2|}}}|<div style="left:86px; top:45px; width:32px; height:32px; position:absolute;">
+
{{#if:{{{C2|}}}|<div style="left:86px; top:36px; 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}}}]]
 
[[Image:{{#if:{{{C2-image|}}}|{{{C2-image}}}|Grid_{{{C2}}}.png}}|32px|link={{#if:{{{C2-link|}}}|{{{C2-link}}}|{{{C2}}}}}|alt={{{C2}}}]]
 
</div>}}
 
</div>}}
{{#if:{{{C3|}}}|<div style="left:86px; top:81px; width:32px; height:32px; position:absolute;">
+
{{#if:{{{C3|}}}|<div style="left:86px; top:72px; 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}}}]]
 
[[Image:{{#if:{{{C3-image|}}}|{{{C3-image}}}|Grid_{{{C3}}}.png}}|32px|link={{#if:{{{C3-link|}}}|{{{C3-link}}}|{{{C3}}}}}|alt={{{C3}}}]]
 
</div>}}
 
</div>}}
 
 
{{#if:{{{Output|}}}|<div style="left:202px; top:45px; width:32px; height:32px; position:absolute;">
+
{{#if:{{{Output|}}}|<div style="left:202px; top:45px; width:24px; height:32px; position:absolute;">
 
[[Image:{{#if:{{{Output-image|}}}|{{{Output-image}}}|Grid_{{{Output|}}}.png}}|32px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}]]
 
[[Image:{{#if:{{{Output-image|}}}|{{{Output-image}}}|Grid_{{{Output|}}}.png}}|32px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}]]
 
</div>}}
 
</div>}}

Version vom 6. Juli 2013, 02:57 Uhr


{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}
50px Documentation

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

Inhaltsverzeichnis

Grundeigenschaft

Die Items werden von den Parameter A1 bis C3 gesetzt in folgender Anordnung:

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

Jedes Item kann ein individuelles Bild mit dem Parameter "-image" haben.

Beispiel: A2-image setzt ein individuelles Bild für Item A2.


Wenn der Parameter weggelassen wird, wird die Vorlage versuchen "Grid item.png" zu benutzen.

Beispiel: Wenn C2 "Generator" genannt wird, wird das voreingestellte Bild "Grid Generator.png" sein.


Jedes Item kann über ein individuellen Link verfügen, mit dem Parameter "-link".

Beispiel: A2-link wird ein individuellen link für A2 setzen

Wenn dieser Parameter ausgelassen wird, versucht die Vorlage [ [ item ] ] zu benutzen.

Beispiel: Wenn C2 "Generator" genannt wird, versucht die Vorlage zu [ [Generator] ] zu verlinken.

Benutzung

{{Grid/Crafting Table
|A1=Rubber  |B1=Copper |C1=Rubber
|A2=Rubber  |B2=Copper |C2=Rubber
|A3=Rubber  |B3=Copper |C3=Rubber
|Output=Cable |OA=8
}}
erzeugt

Rubber

Rubber

Rubber

Copper

Copper

Copper

Rubber

Rubber

Rubber

Cable

Cable

Cable



Das "OA" Feld akzeptiert werte von 0 bis 99. Wenn dieser weggelassen wird zeigt es auch nichts an. Wird ein wert über 99, also 100+ gesetzt, werden nur die letzten zwei Ziffern angezeigt werden.


Base Minecraft items and other mods

If you are using items from outside the Industrial Craft mod, you can use the "-link" parameters to link to an alternate page (typically Non-IC Items).

{{Grid/Crafting Table
|B1=Iron|B1-link=Non-IC Items
|B2=Iron|B2-link=Non-IC Items
|B3=Refined Iron
|Output=Mining Pipe |OA=2
}}
produces

Meine Werkzeuge