Vorlage:Grid/Industrial Centrifuge/doc
This template is used to create a grid that looks similar to the Industrial Centrifuge's GUI screen.
Inhaltsverzeichnis
Notes[Bearbeiten]
Items in the grid are set by the parameters Container, Input, Up, Down, Left, and Right.
Each item can have a custom image by setting the "Image" parameter. For Example: RightImage would set a custom image for the item in the Right slot. If this parameter is omitted, the template will attempt to use Grid_item.png. For Example: If Left 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: RightLink would set a custom link for the item in the Right slot. If this parameter is omitted, the template will attempt to use [[item]]. For Example: If Left was "Generator", then the image would try to link to [[Generator]].
Usage[Bearbeiten]
{{Grid/IndustrialCentrifuge |float=none |Container=Empty Cell |ContainerAmount=22 |ContainerImage= |ContainerLink= |Input=Lazurite Dust |InputImage= |InputLink= |InputAmount=59 |Up=Aluminium Dust |UpImage= |UpLink= |UpAmount=6 |Down=Calcium Cell |DownImage= |DownLink= |DownAmount=8 |Left=Sodium Cell |LeftImage= |LeftLink= |LeftAmount=8 |Right=Silicon Cell |RightImage= |RightLink= |RightAmount=6 |EU=220,000 |Time=25 |nobreak= }}
- produces
{{#if:Empty Cell|
}} {{#if:22|
}} {{#if:Lazurite Dust|
}} {{#if:59|
}} {{#if:Aluminium Dust|
}} {{#if:6|
}} {{#if:Calcium Cell|
}} {{#if:8|
}} {{#if:Sodium Cell|
}} {{#if:8|
}} {{#if:Silicon Cell|
}} {{#if:6|
}} {{#if:220,000|
}} {{#if:25|
{{#if:||
}}
The Amount fields accept numbers from 1-99, or can be left blank (same as 1).
Uploading[Bearbeiten]
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).