Template:Dish Infobox: Difference between revisions
added ability |
No edit summary |
||
| 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,, Description,, Effect,, How to Obtain | ||
|Information_collapsible = Yes | |Information_collapsible = Yes | ||
|Information = Quality,, Category,, Type,, Cuisine,, Kitchenware,, Strength,, Favorite | |Information = Quality,, Category,, Type,, Cuisine,, Kitchenware,, Strength,, Favorite,, Folio Score,, Selling Price | ||
|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 24: | Line 24: | ||
|Strength = {{#if:{{{strength|}}}|+{{{strength}}}}} | |Strength = {{#if:{{{strength|}}}|+{{{strength}}}}} | ||
|Favorite = {{#if:{{{favorite|}}}|{{Item|{{{favorite}}}}}|}} | |Favorite = {{#if:{{{favorite|}}}|{{Item|{{{favorite}}}}}|}} | ||
|Folio Score = {{#switch:{{{quality|}}} | |Folio Score = {{#switch:{{{quality|}}} | ||
| | |Common = +5 | ||
| | |Uncommon = +10 | ||
| | |Rare = +{{{score|20}}} | ||
| | |Stellar = +20 | ||
|#default =}} | |#default =}} | ||
|Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|20|x={{{sell|{{{price}}}}}}}}}} | |Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|20|x={{{sell|{{{price}}}}}}}}}} | ||
| Line 39: | Line 37: | ||
|DescriptionText = {{{description|}}} | |DescriptionText = {{{description|}}} | ||
| | |Effect_collapsible = Yes | ||
| | |Effect = EffectText | ||
| | |EffectText_wide = Yes | ||
| | |EffectText = {{{effect|}}} | ||
|How to Obtain_collapsible = Yes | |How to Obtain_collapsible = Yes | ||
| Line 80: | Line 78: | ||
-->{{#if:{{{strength|}}}|[[Category:{{{strength}}} Strength Dishes]]}}<!-- | -->{{#if:{{{strength|}}}|[[Category:{{{strength}}} Strength Dishes]]}}<!-- | ||
Quality | Quality | ||
-->{{#switch:{{{quality}}}| | -->{{#switch:{{{quality}}}|Common|Uncommon|Rare|Stellar=[[Category:{{{quality}}} Quality]]}} | ||
{{#if:{{{quality|}}}|[[Category:Dish by Quality|{{#switch:{{{quality|}}} | {{#if:{{{quality|}}}|[[Category:Dish by Quality|{{#switch:{{{quality|}}} | ||
| | |Common = 0 | ||
| | |Uncommon = 1 | ||
| | |Rare = 2 | ||
| | |Stellar = 3 | ||
|#default = 4 | |#default = 4 | ||
}}]]}}<!-- | }}]]}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||