Jump to content

Template:Dish Infobox: Difference between revisions

From The Petit Planet Wiki
removed favourite cause afaik it's unused + added a text for exp2
ReisuDesign (talk | contribs)
No edit summary
Line 15: Line 15:


|Information_collapsible = Yes
|Information_collapsible = Yes
|Information = Quality,, Category,, Type,, Cuisine,, Kitchenware,, Cooking Lv.,, EXP Gain,, Collection Score,, Ingredients,, Description
|Information = Quality,, Category,, Type,, Cuisine,, Kitchenware,, Cooking Lv.,, EXP Gain,, Collection Score,, Ingredients
|Quality = {{#if:{{{quality|}}}|<span class="quality-label">{{{quality}}}</span>}}
|Quality = {{#if:{{{quality|}}}|<span class="quality-label">{{{quality}}}</span>}}
|Category = {{#if:{{{category|}}}|[[{{{category}}}]]}}
|Category = {{#if:{{{category|}}}|[[{{{category}}}]]}}
Line 31: Line 31:
   |#default =}}
   |#default =}}
|Ingredients = {{#if:{{{ingredient|}}}|{{#if:{{#explode:{{{ingredient}}}|;|1}}|{{Array|{{{ingredient}}}|;|* [[Contains {item}]]{newline} }}|[[Contains {{{ingredient|}}}]]}}}}
|Ingredients = {{#if:{{{ingredient|}}}|{{#if:{{#explode:{{{ingredient}}}|;|1}}|{{Array|{{{ingredient}}}|;|* [[Contains {item}]]{newline} }}|[[Contains {{{ingredient|}}}]]}}}}
|Description = {{{description|}}}


|Effect_collapsible = Yes
|Effect_collapsible = Yes
Line 45: Line 44:
|Source_label = Source{{#if:{{#explode:{{{source}}}|;|1}}|s}}
|Source_label = Source{{#if:{{#explode:{{{source}}}|;|1}}|s}}
|Recipe = {{{recipe|}}}
|Recipe = {{{recipe|}}}
}}<!--
}}{{#if:{{{description|}}}|{{Description|{{{description}}}}}}}<!--


-->{{#invoke:Bucket|put|dishes
-->{{#invoke:Bucket|put|dishes

Revision as of 15:40, 12 October 2026

Template documentation
Note: parts of or the entire template might not be visible without values provided.

Syntax

{{Dish Infobox
|name        = 
|number      = 
|image       = 
|quality     = 
|category    = 
|type        = 
|cuisine     = 
|kitchenware = 
|strength    = 
|effect      = 
|description = 
|source      = 
|recipe      = 
}}

Examples

047Bamboo Apple Slushie
Quality
Rare
Category
Type
Dessert
Kitchenware
Collection Score
+20
Effect
Strength
+60
Mighty Strike I
Gain increased Strength after eating. A single strike while chopping wood or mining makes the current tree or ore deposit drop all available resources at once.
Effective for 6 uses.
How to Obtain
Recipe
Yunguo has eighty-one favorite ways of enjoying an apple, and this is only one of them!
{{Dish Infobox
|name        = Bamboo Apple Slushie
|number      = 047
|image       = Bamboo Apple Slushie Icon.png
|quality     = Rare
|category    = Secret Dishes
|type        = Dessert
|cuisine     = Hexian
|kitchenware = Cooking Pot
|strength    = 60
|effect      = Mighty Strike I
|description = Yunguo has eighty-one favorite ways of enjoying an apple, and this is only one of them!
|source      = 
|recipe      = [[Yunguo]]
|ingredient  = Rice;Meat
}}

Template Data

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified