Template:Infobox food/doc: Difference between revisions
Jump to navigation
Jump to search
Salty Nori (talk | contribs) (Created page with "{{Documentation/Header}} Infobox to be used for items. ==Syntax== {{T|Infobox item |v1 =title = Defaults to pagename. |v2 =image = Defaults to pagename.png |v3 =type = Type as it shows in-game, written in singular form. Defaults to Consumable. |v4 =category = Hidden category that an item may fall under. |v5 =health = Health value. |v6 =energy = Stamina value |v7 =recipe_source = Mail, Mastery, etc |v8 =recipe = N...") |
Salty Nori (talk | contribs) No edit summary |
||
Line 23: | Line 23: | ||
** {{F|dur_bronze}}, {{F|dur_silver}}, etc. — Overrides automatic calculation. | ** {{F|dur_bronze}}, {{F|dur_silver}}, etc. — Overrides automatic calculation. | ||
* {{F|recipe_source}} — Mail, Mastery, etc. Adds [[:Category:Mail recipes]] or [[:Category:Mastery recipes]] | * {{F|recipe_source}} — Mail, Mastery, etc. Adds [[:Category:Mail recipes]] or [[:Category:Mastery recipes]] | ||
==Example== | |||
<pre> | |||
{{Infobox food | |||
|description = Nutritious and colorful. Yum! | |||
|source = | |||
|health = 150 | |||
|energy = 160 | |||
|sell = 38 | |||
|buff = Gathering | |||
|effect_source = Food | |||
|recipe = {{NPC|Emily}} (4 hearts) | |||
|recipe_source = Mail | |||
}}</pre> | |||
{{Infobox food | |||
|image = Assorted grilled platter.png | |||
|title = Assorted grilled platter | |||
|description = Nutritious and colorful. Yum! | |||
|source = | |||
|health = 150 | |||
|energy = 160 | |||
|sell = 38 | |||
|buff = Gathering | |||
|effect_source = Food | |||
|recipe = {{NPC|Emily}} (4 hearts) | |||
|recipe_source = Mail | |||
}} |
Revision as of 08:44, 30 January 2024
This is the documentation page for Infobox food. It contains usage information, categories, and other content not part of the original template page. | |||
---|---|---|---|
Main | Documentation | Sandbox | Usage |
Infobox to be used for items.
Syntax
{{Infobox item
|title = Defaults to pagename.
|image = Defaults to pagename.png
|type = Type as it shows in-game, written in singular form. Defaults to Consumable.
|category = Hidden category that an item may fall under.
|health = Health value.
|energy = Stamina value
|recipe_source = Mail, Mastery, etc
|recipe = NPC or Mastery
|effect_source = Considered a food or drink buff.
|buff = Attack, Defense, Go fast, Farming, Defense flat, etc.
|debuff = Slow, Poison, Burn, etc
|effect = Effect that is neither a buff or debuff.
|sell = Value if sold through the shipping bin. Automatically calculated until osmium quality.
}}
category
— Other categories that an item may fall under. Usually used for gifting, offering, or cooking.buff
— values are Attack, Defense, Go fast, Mastery names, Defense flat, Stamina, Bug awareness, Debuff immunity.debuff
— values are Slow, Poison, and Burn.sell
— Enter base price only, and it is automatically calculated in the template.dur_bronze
,dur_silver
, etc. — Overrides automatic calculation.
recipe_source
— Mail, Mastery, etc. Adds Category:Mail recipes or Category:Mastery recipes
Example
{{Infobox food |description = Nutritious and colorful. Yum! |source = |health = 150 |energy = 160 |sell = 38 |buff = Gathering |effect_source = Food |recipe = {{NPC|Emily}} (4 hearts) |recipe_source = Mail }}