Difference between revisions of "Template:Infobox cooking/doc"
Jump to navigation
Jump to search
Margotbean (talk | contribs) (optional source) |
Margotbean (talk | contribs) (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 | + | |image = Fried Mushroom |
− | |description | + | |description = Earthy and aromatic. |
− | |buff | + | |buff = {{name|Attack|+2}}{{name|Defense|+4}} |
− | |edibility | + | |duration = 7m |
− | |sellprice | + | |edibility = 54 |
− | |recipe | + | |sellprice = 200 |
− | |ingredients | + | |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}}{{ | + | |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 | ||||||||||
Earthy and aromatic. | ||||||||||
Information | ||||||||||
Source | Cooking | |||||||||
Buff(s) | Attack (+2) Defense (+4) | |||||||||
Buff Duration | 7m | |||||||||
Energy / Health |
|
|||||||||
Sell Price |
| |||||||||
Qi Seasoning |
| |||||||||
Recipe | ||||||||||
Recipe Source(s) | Demetrius (Mail - 3+ Hearts) | |||||||||
Ingredients | Common Mushroom (1) Morel (1) Oil (1) |