Jump to content

Template:Infobox cooking/doc: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
Template documentation
 
imported>Margotbean
buff parameter is optional
Line 8: Line 8:
|image (optional -- will use pagename if omitted)
|image (optional -- will use pagename if omitted)
|description
|description
|buff
|buff (optional)
|edibility
|edibility
|sellprice
|sellprice

Revision as of 02:28, 10 March 2017

Infobox Template for cooked items, based on Template:Infobox, but a simpler version. Cooked items don't have quality versions, seasons, profession modifiers, etc.

The health and energy values are calculated from the "edibility" parameter, using the same formulas as Template:Infobox. (These are the actual gains when a cooked item is consumed in-game, and not the hover text values.)

Use

{{Infobox cooking
|image (optional -- will use pagename if omitted)
|description
|buff (optional)
|edibility
|sellprice
|recipe (recipe source)
|ingredients
}}

Example

{{Infobox cooking
|image           = Fried Mushroom
|description     = Earthy and aromatic.
|buff            = {{name|Attack|+2}}{{Duration|7m}}
|edibility       = 54
|sellprice       = 200
|recipe          = {{NPC|Demetrius|Mail - 3+ Hearts}}
|ingredients     = {{name|Common Mushroom|1}}{{name|Morel|1}}{{name|Oil|1}}
}}
Infobox cooking/doc
File:Fried Mushroom
Earthy and aromatic.
Information
Source Cooking
Buff(s) Attack (+2) 7m
Buff Duration
Energy / Health
135
60
Sell Price
200g
Qi Seasoning
243
109
300g
Recipe
Recipe Source(s)

Demetrius (Mail - 3+ Hearts)

Ingredients Common Mushroom (1) Morel (1) Oil (1)

{{#seo:

|keywords=Stardew Valley Wiki, Stardew Valley, Infobox cooking/doc, gift |site_name=Stardew Valley Wiki |type=article |title=Infobox cooking/doc - Stardew Valley Wiki }}