Template:Grid/Cooking

From Vintage Story Wiki


[view | edit | history | purge this page]Documentation

This is a crafting grid template to demonstrate things that can be cooked in a Cooking pot, such as advanced meals, jams and so on.

Usage

{{Grid/Cooking
|1=Cell1 |1n=num |1-image=ImageName.png |1-link=Link
|2=Cell2 |2n=num |2-image=ImageName.png |2-link=Link
|3=Cell3 |3n=num |3-image=ImageName.png |3-link=Link
|4=Cell4 |4n=num |4-image=ImageName.png |4-link=Link
|Output=OutputTitle |On=num |Output-image=ImageName.png |Output-link=Link
|float=left
|NoBreak=y
}}

Template parameters

Parameters for Grid/Cooking
Parameter Description Type Optionality
Cell 1 Name of the item in the cell. This will also be used as the default link title and alt (hover) title. The template can take a maximum of four cells. String 1 required, 2-4 optional
Cell image 1-image The filename of the image for that cell, including the file extension String 1-image required, 2-4 optional
Cell link 1-link Link title for that cell, i.e. the name of the page that cell should link to String Optional
Cell number 1n Text string for the amount in that cell String Optional
Output Output Name of the Output. This will also be used as the default link title and alt (hover) title String Required
Output image Output-image The filename of the image for the output, including the file extension String Required
Output link Output-link Link title for the output, i.e. the name of the page that the output should link to String Optional
Output number On Text string for the amount of output String Optional
Float float Sets the "float" style. Defaults to left CSS float options Optional
Line break NoBreak Whether or not the grid should end with a line break. Leave it blank for no break Any Optional

Example

{{Grid/Cooking
|1=Honey |1-image=Honey-blob.png |1n=0.2L
|2=Honey |2-image=Honey-blob.png |2n=0.2L
|3=Berry |3-image=Fruit-redcurrant.png 
|4=Berry |4-image=Fruit-redcurrant.png
|Output=Jam |Output-image=Claypot-burned.png
}}
Honey
Honey
Berry
Berry
Jam
0.2L
0.2L



[view | edit | history | purge this page]The above documentation is transcluded from Template:Grid/Cooking/doc.