Template:Dish Infobox: Difference between revisions

changing Unlocked At -> Cooking Lv. + removing list for exp
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 6: Line 6:
-->{{{title|<!--
-->{{{title|<!--
   -->{{#if:{{{number|}}}|<span class="archive-number">{{{number}}}</span>}}<!--
   -->{{#if:{{{number|}}}|<span class="archive-number">{{{number}}}</span>}}<!--
   -->{{{name|{{PAGENAME}}}}}<!--
   --><span class="infobox-name">{{{name|{{PAGENAME}}}}}</span><!--
-->}}}
-->}}}
|subtitle = {{{subtitle|}}}
|subtitle = {{{subtitle|}}}
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,, Effect,, Description,, Ingredients,, How to Obtain
|sections = Information,, Effect,, How to Obtain


|Information_collapsible = Yes
|Information_collapsible = Yes
|Information = Quality,, Category,, Type,, Cuisine,, Kitchenware,, Cooking Lv.,, EXP Gain,, Collection Score,, Favorite,, Strength
|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 23: Line 23:
|Kitchenware = {{#if:{{{kitchenware|}}}|{{Item|{{{kitchenware}}}}}|}}
|Kitchenware = {{#if:{{{kitchenware|}}}|{{Item|{{{kitchenware}}}}}|}}
|Cooking Lv. = {{#if:{{{cooklv|}}}|{{{cooklv}}}}}
|Cooking Lv. = {{#if:{{{cooklv|}}}|{{{cooklv}}}}}
|EXP Gain = {{#if:{{{exp1|}}}|{{{exp1}}} (First Time)<br>{{{exp2|}}}}}
|EXP Gain = {{#if:{{{exp1|}}}|{{{exp1}}} (First Time)<br>{{{exp2|}}} (Subsequent Times)}}
|Collection Score = {{#switch:{{{quality|}}}
|Collection Score = {{#if:{{{noscore|}}}||{{#switch:{{{quality|}}}
   |Common    = +5
   |Common    = +5
   |Uncommon  = +{{{score|10}}}
   |Uncommon  = +{{{score|10}}}
   |Rare      = +{{{score|20}}}
   |Rare      = +{{{score|20}}}
   |Stellar    = +30
   |Stellar    = +30
   |#default =}}
   |#default =}}}}
|Favorite = {{#if:{{{favorite|}}}|{{Item|{{{favorite}}}}}|}}
|Ingredients = {{#if:{{{ingredient|}}}|{{#if:{{#explode:{{{ingredient}}}|;|1}}|{{Array|{{{ingredient}}}|;|* [[Contains {item}]]{newline} }}|[[Contains {{{ingredient|}}}]]}}}}
|Strength = {{#if:{{{strength|}}}|+{{{strength}}}}}


|Effect_collapsible = Yes
|Effect_collapsible = Yes
|Effect_columns = 1
|Effect = Strength,, EffectText
|Effect = EffectText
|Strength = {{#if:{{{strength|}}}|+{{{strength}}}}}
|EffectText_nolabel = Yes
|EffectText_nolabel = Yes
|EffectText_wide = Yes
|EffectText_wide = Yes
|EffectText = {{#if:{{{effect|}}}|'''{{{effect|}}}'''<br>{{Dish Effect|{{{effect|}}}}}}}
|EffectText = {{#if:{{{effect|}}}|<center>'''{{{effect|}}}'''<br>{{Dish Effect|{{{effect|}}}}}</center>}}
 
|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}}|{{Array|{{{ingredient}}}|;|* [[Contains {item}]]{newline} }}|[[Contains {{{ingredient|}}}]]}}


|How to Obtain_collapsible = Yes
|How to Obtain_collapsible = Yes
Line 56: 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
Line 85: Line 73:
-->{{#if:{{{cuisine|}}}|[[Category:{{{cuisine}}} Cuisine Dishes]]}}<!--
-->{{#if:{{{cuisine|}}}|[[Category:{{{cuisine}}} Cuisine Dishes]]}}<!--
-->{{#if:{{{kitchenware|}}}|[[Category:{{{kitchenware}}} Dishes]]}}<!--
-->{{#if:{{{kitchenware|}}}|[[Category:{{{kitchenware}}} Dishes]]}}<!--
-->{{#if:{{{cooklv|}}}|[[Category:Cooking Lv. {{{cooklv}}} Dishes]]}}<!--
-->{{#if:{{{strength|}}}|[[Category:{{{strength}}} Strength Dishes]]}}<!--
-->{{#if:{{{strength|}}}|[[Category:{{{strength}}} Strength Dishes]]}}<!--
-->{{#if:{{{effect|}}}|[[Category:{{{effect}}} Dishes]]}}<!--
-->{{#if:{{{effect|}}}|[[Category:{{{effect}}} Dishes]]}}<!--