Jump to content

Template:Infobox cooking/doc: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
optional source
imported>Margotbean
duration parameter
Line 10: Line 10:
|source (optional)
|source (optional)
|buff (optional)
|buff (optional)
|duration (optional -- include if buffs are included)
|edibility
|edibility
|sellprice
|sellprice
Line 18: Line 19:
==Example==
==Example==
<pre>{{Infobox cooking
<pre>{{Infobox cooking
|image           = Fried Mushroom
|image       = Fried Mushroom
|description     = Earthy and aromatic.
|description = Earthy and aromatic.
|buff           = {{name|Attack|+2}}{{Duration|7m}}
|buff         = {{name|Attack|+2}}{{name|Defense|+4}}
|edibility       = 54
|duration    = 7m
|sellprice       = 200
|edibility   = 54
|recipe         = {{NPC|Demetrius|Mail - 3+ Hearts}}
|sellprice   = 200
|ingredients     = {{name|Common Mushroom|1}}{{name|Morel|1}}{{name|Oil|1}}
|recipe       = {{NPC|Demetrius|Mail - 3+ Hearts}}
|ingredients = {{name|Common Mushroom|1}}{{name|Morel|1}}{{name|Oil|1}}
}}</pre>
}}</pre>
   
   
Line 30: Line 32:
|image      = Fried Mushroom
|image      = Fried Mushroom
|description = Earthy and aromatic.
|description = Earthy and aromatic.
|buff        = {{name|Attack|+2}}{{Duration|7m}}
|buff        = {{name|Attack|+2}}{{name|Defense|+4}}
|duration    = 7m
|edibility  = 54
|edibility  = 54
|sellprice  = 200
|sellprice  = 200

Revision as of 09:13, 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
|source (optional)
|buff (optional)
|duration (optional -- include if buffs are included)
|edibility
|sellprice
|recipe (recipe source)
|ingredients
}}

Example

{{Infobox cooking
|image        = Fried Mushroom
|description  = Earthy and aromatic.
|buff         = {{name|Attack|+2}}{{name|Defense|+4}}
|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) Defense (+4)
Buff Duration 7m
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 }}