Template:Recipe

From Stardew Valley Wiki
Revision as of 07:33, 5 March 2016 by Katzeus (talk | contribs) (Created page with "<includeonly><div id="{{#switch:{{{3|}}} |24=qualitycontainersm |32=qualitycontainermed |48=qualitycontainer |#default=qualitycontainer }}"><div id="qualityimage">File:{{{1|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

This template overlays a recipe icon over an image. The background image will be rendered semi-transparent.

Parameters

Parameter Notes
First (unnamed) parameter Name of background image (without extension such as .png)
Second (unnamed) parameter Desired display width of background image (do not include "px")
Valid values: 48, 36, 32, 24 (other values will be accepted, but may produce undesired results)
Default value: 24
Third (unnamed) parameter center, if the image is to be displayed in a table cell. Adding this parameter will center the image in the cell.

Examples

Template Call Result
{{Recipe|Bread}}
Bread.pngRecipe Overlay.png
{{Recipe|Complete Breakfast|48}}
Complete Breakfast.pngRecipe Overlay.png
{{Recipe|Barrel Brazier|36|center}}
Barrel Brazier.pngRecipe Overlay.png
{{Recipe|Wicked Statue|32|center}}
Wicked Statue.pngRecipe Overlay.png