Difference between revisions of "Template:Infobox cooking/doc"
Jump to navigation
Jump to search
Margotbean (talk | contribs) |
Margotbean (talk | contribs) (add debug mode to this doc) |
||
Line 38: | Line 38: | ||
|recipe = {{NPC|Demetrius|Mail - 3+ Hearts}} | |recipe = {{NPC|Demetrius|Mail - 3+ Hearts}} | ||
|ingredients = {{name|Common Mushroom|1}}{{name|Morel|1}}{{name|Oil|1}} | |ingredients = {{name|Common Mushroom|1}}{{name|Morel|1}}{{name|Oil|1}} | ||
+ | |debug mode = yes | ||
}} | }} | ||
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 19:37, 9 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 |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) |