Template:Grid/Centrifuge/doc

From ATLauncher Wiki
Jump to: navigation, search
Description
This template is used to create a grid that looks similar to the Centrifuge's GUI screen.
To use it, copy-paste the following code and fill in the parameters as described below.
{{Grid/Centrifuge
|Input= 
|A1= |A1-chance= |A2= |A2-chance= |A3= |A3-chance=
|B1= |B1-chance= |B2= |B2-chance= |B3= |B3-chance=
|C1= |C1-chance= |C2= |C2-chance= |C3= |C3-chance=
}}
Sample Output
{{Grid/Centrifuge
|Input= Honey Comb
|A1= Honey Drop
|A1-chance= 90
|A2= Beeswax (Forestry)
|A2-chance= 100
}}
produces
GUI Centrifuge.png
Honey Comb
Honey Drop
Beeswax (Forestry)

Notes[edit]

Parameters[edit]

Input Parameter[edit]

|Input

The "Input" parameter allows you to specify the name of the inserted item/block shown to the left side of the Centrifuge.

Output Grid Parameters[edit]

Filling in the parameters A1 to C3 will automatically insert an image of the specified item that links to the corresponding page. They are set in the following formation:

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

Chance Parameters[edit]

|A1-chance, |A2-chance, ..., |C3-chance

Filling in the parameters A1-chance to C3-chance will add a box that will appear when hovering over a grid image. It will show the chance of getting said item when centrifuged.
The % sign is added automatically and does not need to be inserted manually.


Additional Parameters[edit]

Custom links

|A1-link, |A2-Link, ..., |C3-link

Each item can have a custom link by setting the "-link" parameter.
For Example: A2-link would set a custom link for item A2.
This is only necessary if a page link somehow deviates from the corresponding item/block name.
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]].
Custom images

|A1-image, |A2-image, ..., |C3-image

Each item can have a custom image by setting the "-image" parameter.
For Example: A2-image would set a custom image for item A2.
This is only necessary if an image name somehow deviates from the actual item/block name.
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".

Image requirements[edit]

Images for this and other grid templates have to be 32x32 pixels in size and prefixed with "Grid". Please refer to the Style Guide for further information.