Vorlage:Grid/Machine

Aus 1,5 Liter Flasche - Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
 
Zeile 7: Zeile 7:
 
</div>}}
 
</div>}}
 
 
{{#if:{{{Bottom|}}}|<div style="left:14px; top:73px; width:32px; height:32px; position:absolute;">
+
{{#if:{{{Bottom|}}}|<div style="left:14px; top:72px; width:32px; height:32px; position:absolute;">
 
[[Image:{{#if:{{{Bottom-image|}}}|{{{Bottom-image}}}|Grid_{{{Bottom}}}.png}}|32px|link={{#if:{{{Bottom-link|}}}|{{{Bottom-link}}}|{{{Bottom}}}}}|alt={{{Bottom}}}]]
 
[[Image:{{#if:{{{Bottom-image|}}}|{{{Bottom-image}}}|Grid_{{{Bottom}}}.png}}|32px|link={{#if:{{{Bottom-link|}}}|{{{Bottom-link}}}|{{{Bottom}}}}}|alt={{{Bottom}}}]]
 
</div>}}
 
</div>}}

Aktuelle Version vom 6. Juli 2013, 05:16 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

[Bearbeiten] Notes

Set the type of machine with the parameter 'Type', by default Type=Iron Furnace


Items in the grid are set by parameters Top, Bottom and Output.


Each item can have a custom image by setting the "-image" parameter

For Example: Top-image would set a custom image for item in the top slot

If this parameter is omitted, the template will attempt to use Grid item.png

For Example: If Top was "Copper Dust", then the default image would be "Grid Copper Dust.png"


Each item can have a custom link by setting the "-link" parameter

For Example: Bottom-link would set a custom link for the item in the bottom slot

If this parameter is omitted, the template will attempt to use [ [ item ] ]

For Example: If Output was "Refined Iron", then the image would try to link to [ [Refined Iron] ]


[Bearbeiten] Usage

{{Grid/Machine
|Top=Iron
|Bottom=Coal
|Output=Refined Iron
}}
produces

Iron

Coal

Refined Iron




The OA field accepts 1-99. Leaving it blank will show nothing, using 100 to 109 will only show the last two digits (although this can be utilized to output 01 instead of just 1, for example), using anything higher will only show the last digit.


[Bearbeiten] Base Minecraft items and other mods

If you are using items from outside the Industrail Craft mod, you can use the "-link" parameters to link to an alternate page.

{{Grid/Machine
|Type=Macerator
|Top=Cobblestone|Top-link=Non-IC Items
|Output=Sand|Output-link=Non-IC Items
}}
produces

Cobblestone


Sand




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).

[Bearbeiten] See also

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

The above documentation is transcluded from Vorlage:Grid/Machine/doc. (edit Vorlage:! history)

Meine Werkzeuge