Difference between revisions of "Template:Infobox cooking/doc"
Jump to navigation
Jump to search
Margotbean (talk | contribs) |
Margotbean (talk | contribs) |
||
Line 47: | Line 47: | ||
{{clear}} | {{clear}} | ||
==Example for use with [[Template:RecipeRow]]== | ==Example for use with [[Template:RecipeRow]]== | ||
− | <pre | + | <pre> |
<onlyinclude>{{{{{1|Infobox cooking}}} | <onlyinclude>{{{{{1|Infobox cooking}}} | ||
|name = Lucky Lunch | |name = Lucky Lunch | ||
Line 59: | Line 59: | ||
|recipe = {{CookingChannel|28 Spring, Year 2}} | |recipe = {{CookingChannel|28 Spring, Year 2}} | ||
|ingredients = {{name|Sea Cucumber|1}}{{name|Tortilla|1}}{{name|Blue Jazz|1}} | |ingredients = {{name|Sea Cucumber|1}}{{name|Tortilla|1}}{{name|Blue Jazz|1}} | ||
− | }}</onlyinclude | + | }}</onlyinclude></pre> |
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 05:59, 19 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) Note: do not include ".png" |description |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 }}
Example
{{Infobox cooking |name = Fried Mushroom |image = Fried Mushroom |description = Earthy and aromatic. |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 |
|
|||||||||
Sell Price |
| |||||||||
Qi Seasoning |
| |||||||||
Recipe | ||||||||||
Recipe Source(s) | Demetrius (Mail - 3+ ) | |||||||||
Ingredients | Common Mushroom (1) Morel (1) Oil (1) |
Example for use with Template:RecipeRow
<onlyinclude>{{{{{1|Infobox cooking}}} |name = Lucky Lunch |image = Lucky Lunch |description = A special little meal. |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>