24,527
ARTICLES
ON THIS WIKI
ON THIS WIKI
Template:Grid/Countertop/doc
- Description
- This template is used to create a grid that looks similar to the Countertop's GUI screen.
- To use it, copy-paste the following code and fill in the parameters as described below.
{{Grid/Countertop |A1= |B1= |C1= |A2= |B2= |C2= |A3= |B3= |C3= |Output= |OA= |Shapeless= }}
- Sample Output
{{Grid/Countertop |B1=Sugar |B2=Doughnut |Output=Sugar Doughnut}}
- produces
Notes[edit]
Parameters[edit]
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
Output Parameter[edit]
|Output
- The "Output" parameter allows you to specify the name of the produced item/block shown to the right side of the Crafting Table.
Output Amount Parameter[edit]
|OA
- "OA" specifies the output amount and will accept any value from 2 to 99. Do not use if less than 2.
Shapeless Parameter[edit]
|Shapeless
- The "Shapeless" parameter lets you specify if the recipe is shapeless by passing the value "1". The text "Shapeless" will be added at the bottom. Use only if the recipe is shapeless.
- Sample output
{{Grid/Countertop |A1=Sugar |B1=Egg |A2=Apple |Output=Apple Pie (Food Plus) |Shapeless=1}}
- Produces
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.
Twitter Feed
Warning: file_get_contents(/srv/common/): failed to open stream: No such file or directory in /var/www/html/skins/MMWiki/SkinMMWiki.php on line 392
Discussion
To discuss the topics on this wiki, you can visit our community forums!