Difference between revisions of "Template:Infobox cooking/doc"
Jump to navigation
Jump to search
Margotbean (talk | contribs) (Update w/info on parameter dsvduration) |
Margotbean (talk | contribs) |
||
Line 13: | Line 13: | ||
|dsvduration (data-sort-value for duration of buffs -- optional, but table will not sort correctly without it) (Format:mmss) | |dsvduration (data-sort-value for duration of buffs -- optional, but table will not sort correctly without it) (Format:mmss) | ||
|edibility | |edibility | ||
− | |sellprice | + | |sellprice (raw unformatted numbers only) |
|recipe (recipe source) | |recipe (recipe source) | ||
|ingredients | |ingredients | ||
Line 45: | Line 45: | ||
|debug mode = yes | |debug mode = yes | ||
}} | }} | ||
+ | {{clear}} | ||
+ | ==Example for use with [[Template:RecipeRow]]== | ||
+ | <pre><nowiki> | ||
+ | <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></nowiki></pre> | ||
+ | |||
<includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | <includeonly>[[Category:Infobox templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | ||
<includeonly>[[de:Vorlage:{{PAGENAME}}]] | <includeonly>[[de:Vorlage:{{PAGENAME}}]] |
Revision as of 07:45, 17 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>