Difference between revisions of "Template:Infobox cooking/doc"

From Stardew Valley Wiki
Jump to navigation Jump to search
(Update w/info on parameter dsvduration)
Line 11: Line 11:
 
|buff (optional)
 
|buff (optional)
 
|duration (optional -- include only if buffs are included)
 
|duration (optional -- include only if buffs are included)
 +
|dsvduration (data-sort-value for duration of buffs -- optional, but table will not sort correctly without it) (Format:mmss)
 
|edibility
 
|edibility
 
|sellprice
 
|sellprice
Line 24: Line 25:
 
|buff        = {{name|Attack|+2}}{{name|Defense|+4}}
 
|buff        = {{name|Attack|+2}}{{name|Defense|+4}}
 
|duration    = 7m
 
|duration    = 7m
 +
|dsvduration  = 0700
 
|edibility    = 54
 
|edibility    = 54
 
|sellprice    = 200
 
|sellprice    = 200
Line 36: Line 38:
 
|buff        = {{name|Attack|+2}}{{name|Defense|+4}}
 
|buff        = {{name|Attack|+2}}{{name|Defense|+4}}
 
|duration    = 7m
 
|duration    = 7m
 +
|dsvduration = 0700
 
|edibility  = 54
 
|edibility  = 54
 
|sellprice  = 200
 
|sellprice  = 200

Revision as of 07:39, 17 April 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
|name (name of cooked dish/name of page -- not optional)
|image (name of image -- not optional) Note: do not include ".png"
|description
|source (optional)
|buff (optional)
|duration (optional -- include only if buffs are included)
|dsvduration (data-sort-value for duration of buffs -- optional, but table will not sort correctly without it) (Format:mmss)
|edibility
|sellprice
|recipe (recipe source)
|ingredients
}}

Example

{{Infobox cooking
|name         = Fried Mushroom
|image        = Fried Mushroom
|description  = Earthy and aromatic.
|buff         = {{name|Attack|+2}}{{name|Defense|+4}}
|duration     = 7m
|dsvduration  = 0700 
|edibility    = 54
|sellprice    = 200
|recipe       = {{NPC|Demetrius|Mail - 3+ [[File:HeartIconLarge.png|16px|link=]]}}
|ingredients  = {{name|Common Mushroom|1}}{{name|Morel|1}}{{name|Oil|1}}
}}
Fried Mushroom
Earthy and aromatic.
Information
Source Cooking
Buff(s) Attack.png Attack (+2)Defense.png Defense (+4)
Buff Duration Time Icon.png 7m
Energy / Health
Energy.png
135
Health.png
60
Sell Price
200g
Qi Seasoning.pngQi Seasoning
Energy.png
Gold Quality Icon.png
243
Health.png
Gold Quality Icon.png
109
300g
Recipe
Recipe Source(s)

Demetrius Icon.png Demetrius (Mail - 3+ HeartIconLarge.png)

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