Template:Dish Infobox: Difference between revisions
mNo edit summary |
Add ingredient, exp, and Level Unlock, remove selling price cause there's no fixed price + moving effect above description |
||
| Line 12: | Line 12: | ||
|images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,,|template=1}}}} | |images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,,|template=1}}}} | ||
|tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,,|template=1}}}} | |tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,,|template=1}}}} | ||
|sections = Information,, Description,, | |sections = Information,, Effect,, Description,, Ingredients,, How to Obtain | ||
|Information_collapsible = Yes | |Information_collapsible = Yes | ||
|Information = Quality,, Category,, Type,, Cuisine,, Kitchenware,, Collection Score,, Favorite,, Strength | |Information = Quality,, Category,, Type,, Cuisine,, Kitchenware,, Unlocked At, EXP, Collection Score,, Favorite,, Strength | ||
|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 22: | Line 22: | ||
|Cuisine = {{#if:{{{cuisine|}}}|{{Item|{{{cuisine}}} Cuisine}}|}} | |Cuisine = {{#if:{{{cuisine|}}}|{{Item|{{{cuisine}}} Cuisine}}|}} | ||
|Kitchenware = {{#if:{{{kitchenware|}}}|{{Item|{{{kitchenware}}}}}|}} | |Kitchenware = {{#if:{{{kitchenware|}}}|{{Item|{{{kitchenware}}}}}|}} | ||
|Unlocked At = {{#if:{{{unlock|}}}|Cooking Lv. {{{unlock}}}}} | |||
|EXP = {{#if:{{{exp1|}}}|{{List|{{{exp1}}} (First Time);{{{exp2|}}}}}}} | |||
|Collection Score = {{#switch:{{{quality|}}} | |Collection Score = {{#switch:{{{quality|}}} | ||
|Common = +5 | |Common = +5 | ||
| Line 30: | Line 32: | ||
|Favorite = {{#if:{{{favorite|}}}|{{Item|{{{favorite}}}}}|}} | |Favorite = {{#if:{{{favorite|}}}|{{Item|{{{favorite}}}}}|}} | ||
|Strength = {{#if:{{{strength|}}}|+{{{strength}}}}} | |Strength = {{#if:{{{strength|}}}|+{{{strength}}}}} | ||
|Effect_collapsible = Yes | |Effect_collapsible = Yes | ||
| Line 43: | Line 39: | ||
|EffectText_wide = Yes | |EffectText_wide = Yes | ||
|EffectText = {{#if:{{{effect|}}}|'''{{{effect|}}}'''<br>{{Dish Effect|{{{effect|}}}}}}} | |EffectText = {{#if:{{{effect|}}}|'''{{{effect|}}}'''<br>{{Dish Effect|{{{effect|}}}}}}} | ||
|Description_collapsible = Yes | |||
|Description = DescriptionText | |||
|DescriptionText_wide = Yes | |||
|DescriptionText = {{{description|}}} | |||
|Ingredients_collapsible = Yes | |||
|Ingredients_collapsed = Yes | |||
|Ingredients = IngredientsText | |||
|IngredientsText_wide = Yes | |||
|IngredientsText = {{#if:{{#explode:{{{ingredient}}}|;|1}}|{{List|[[Contains {{{ingredient}}}}}]]|[[Contains {{{ingredient|}}}]]}} | |||
|How to Obtain_collapsible = Yes | |How to Obtain_collapsible = Yes | ||
| Line 80: | Line 87: | ||
-->{{#if:{{{strength|}}}|[[Category:{{{strength}}} Strength Dishes]]}}<!-- | -->{{#if:{{{strength|}}}|[[Category:{{{strength}}} Strength Dishes]]}}<!-- | ||
-->{{#if:{{{effect|}}}|[[Category:{{{effect}}} Dishes]]}}<!-- | -->{{#if:{{{effect|}}}|[[Category:{{{effect}}} Dishes]]}}<!-- | ||
-->{{#if:{{{ingredient|}}}|{{Array|{{{ingredient}}}|;|[[Category:Dishes That Contain {item}]]}}}}<!-- | |||
Quality | Quality | ||
-->{{#switch:{{{quality}}}|Common|Uncommon|Rare|Stellar=[[Category:{{{quality}}} Quality]]}} | -->{{#switch:{{{quality}}}|Common|Uncommon|Rare|Stellar=[[Category:{{{quality}}} Quality]]}} | ||