Template:Infobox cooking/doc: Difference between revisions
Appearance
imported>Margotbean add debug mode to this doc |
imported>Margotbean Change to say that name and image are not optional |
||
| Line 2: | Line 2: | ||
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== | ||
<pre> | <pre> | ||
{{Infobox cooking | {{Infobox cooking | ||
|image ( | |name (name of cooked dish/name of page -- not optional) | ||
|image (name of image -- not optional) | |||
|description | |description | ||
|source (optional) | |source (optional) | ||
|buff (optional) | |buff (optional) | ||
|duration (optional -- include if buffs are included) | |duration (optional -- include only if buffs are included) | ||
|edibility | |edibility | ||
|sellprice | |sellprice | ||
| Line 19: | Line 19: | ||
==Example== | ==Example== | ||
<pre>{{Infobox cooking | <pre>{{Infobox cooking | ||
|name = Fried Mushroom | |||
|image = Fried Mushroom | |image = Fried Mushroom | ||
|description = Earthy and aromatic. | |description = Earthy and aromatic. | ||
| Line 30: | Line 31: | ||
{{Infobox cooking | {{Infobox cooking | ||
|name = Fried Mushroom | |||
|image = Fried Mushroom | |image = Fried Mushroom | ||
|description = Earthy and aromatic. | |description = Earthy and aromatic. | ||
Revision as of 05:08, 15 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)
|description
|source (optional)
|buff (optional)
|duration (optional -- include only if buffs are included)
|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
|edibility = 54
|sellprice = 200
|recipe = {{NPC|Demetrius|Mail - 3+ Hearts}}
|ingredients = {{name|Common Mushroom|1}}{{name|Morel|1}}{{name|Oil|1}}
}}
| Fried Mushroom | ||||||||||
| Earthy and aromatic. | ||||||||||
| Information | ||||||||||
| Source | Cooking | |||||||||
| Buff(s) | ||||||||||
| Buff Duration | ||||||||||
| Energy / Health |
|
|||||||||
| Sell Price |
| |||||||||
| ||||||||||
| Recipe | ||||||||||
| Recipe Source(s) |
| |||||||||
| Ingredients | ||||||||||
{{#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 }}