Difference between revisions of "Template:Infobox cooking/doc"
Jump to navigation
Jump to search
Margotbean (talk | contribs) (duration parameter) |
Margotbean (talk | contribs) |
||
Line 39: | Line 39: | ||
|ingredients = {{name|Common Mushroom|1}}{{name|Morel|1}}{{name|Oil|1}} | |ingredients = {{name|Common Mushroom|1}}{{name|Morel|1}}{{name|Oil|1}} | ||
}} | }} | ||
− | <includeonly>[[Category: | + | <includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
<includeonly>[[de:Vorlage:{{PAGENAME}}]] | <includeonly>[[de:Vorlage:{{PAGENAME}}]] | ||
[[es:Plantilla:{{PAGENAME}}]] | [[es:Plantilla:{{PAGENAME}}]] |
Revision as of 01:40, 22 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) |