Jump to content

Template:Infobox cooking/doc: Difference between revisions

From Stardew Valley Wiki
imported>Margotbean
No edit summary
imported>Margotbean
No edit summary
Line 1: Line 1:
Infobox Template for cooked items (and some crafted items), based on Template:Infobox, but a simpler version.  Cooked items don't have quality versions, seasons, profession modifiers, etc.
Infobox Template for cooked items (and some crafted items), based on Template:Infobox, but a simpler version.  Cooked items don't have 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.)
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==
==Use==
'''Do not use this on your user page. It is reserved for content pages.'''
<pre>
<pre>
{{Infobox cooking
{{Infobox cooking

Revision as of 00:22, 4 June 2022

Infobox Template for cooked items (and some crafted items), based on Template:Infobox, but a simpler version. Cooked items don't have 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

Do not use this on your user page. It is reserved for content pages.

{{Infobox cooking
|name (name of cooked dish/name of page -- not optional)
|image (name of image -- not optional)
|description (not optional)
|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 (raw unformatted numbers only)
|recipe (recipe source)
|ingredients
|produces (optional - use for crafted items that produce >1 item per craft)
|qiseasoning -- calculates gold values for health, energy, and sell price
                Set to false for all non-cooked items
|health (optional, use for items whose health is calculated incorrectly)
}}

Example

{{Infobox cooking
|name         = Fried Mushroom
|image        = Fried Mushroom.png
|description  = {{Description|Fried Mushroom}}
|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 (+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+ )

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 }}

Example for use with Template:RecipeRow

<onlyinclude>{{{{{1|Infobox cooking}}}
|name            = Lucky Lunch
|image           = Lucky Lunch.png
|description     = {{Description|Fried Mushroom}}
|buff            = {{name|Luck|+3}}
|duration        = 11m 11s
|dsvduration     = 1111
|edibility       = 40
|sellprice       = 250
|recipe          = {{CookingChannel|28 Spring, Year 2}}
|ingredients     = {{name|Sea Cucumber|1}}{{name|Tortilla|1}}{{name|Blue Jazz|1}}
}}</onlyinclude>