Editing Template:Dish Infobox
Template page
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 2: | Line 2: | ||
|kind = Dish | |kind = Dish | ||
|sep = ,, | |sep = ,, | ||
|title = <!-- | |title = <!-- | ||
-->{{{title|<!-- | -->{{{title|<!-- | ||
-->{{#if:{{{number|}}}|<!-- | |||
--><span class="archive-number quality-{{#if:{{{quality|}}}|{{lc:{{{quality}}}}}|none}}"><!-- | |||
-->{{{number}}}<!-- | |||
--></span><!-- | |||
-->}}<!-- | |||
-->{{{name|{{PAGENAME}}}}}<!-- | |||
-->}}} | -->}}} | ||
|subtitle = {{{subtitle|}}} | |subtitle = {{{subtitle|}}} | ||
| Line 12: | Line 15: | ||
|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,, | |sections = Information,, Description,, How to Obtain | ||
|Information_collapsible = Yes | |Information_collapsible = Yes | ||
|Information = Quality,, Category,, Type,, Cuisine,, Kitchenware,, | |Information = Quality,, Category,, Type,, Cuisine,, Kitchenware,, Strength,, Favorite<!--,, Folio Score,,--> Selling Price | ||
|Quality = {{#if:{{{quality|}}}|<span class="quality-label">{{{quality}}}</span>}} | |Quality = <!-- | ||
|Category = {{#if:{{ | -->{{#if:{{{quality|}}}|<!-- | ||
| | --><span class="quality-label quality-{{lc:{{{quality}}}}}"><!-- | ||
| | -->{{{quality}}}<!-- | ||
--></span><!-- | |||
-->}} | |||
|Category = <!-- | |||
-->{{#if:{{#explode:{{{category}}}|;|1}}<!-- | |||
-->|<ul>{{Array|{{{category}}}|;|<li>²{#ifeq:{item}¦Removed¦[[:Category:{item}|{item}]]¦[[{item}]]}²</li>|template=1}}</ul><!-- | |||
-->|[[{{{category|}}}]]<!-- | |||
-->}} | |||
|Type = {{#if:{{{type|}}}|{{Array|{{{type}}}|;|<ul><li>{item}</li></ul><!---->}}}} | |||
|Cuisine = {{#if:{{{cuisine|}}}|{{Item|{{{cuisine}}} Cuisine}}|}} | |Cuisine = {{#if:{{{cuisine|}}}|{{Item|{{{cuisine}}} Cuisine}}|}} | ||
|Kitchenware = {{#if:{{{kitchenware|}}}|{{Item|{{{kitchenware}}}}}|}} | |Kitchenware = {{#if:{{{kitchenware|}}}|{{Item|{{{kitchenware}}}}}|}} | ||
| | |Strength = +{{{strength}}} | ||
| | |Favorite = {{#if:{{{favorite|}}}|{{Item|{{{favorite}}}}}|}} | ||
| | <!-- Not yet implemented in-game | ||
| | |Folio Score = {{#switch:{{{quality|}}} | ||
| | |Gray = +5 | ||
| | |Green = +10 | ||
| | |Purple = +{{{score|20}}} | ||
|#default =}} | |Gold = +20 | ||
| | |#default =}} | ||
--> | |||
|Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|20|x={{{sell|{{{price}}}}}}}}}} | |||
| | |Description_collapsible = Yes | ||
| | |Description = DescriptionText | ||
| | |DescriptionText_wide = Yes | ||
|DescriptionText = {{{description|}}} | |||
| | |||
|How to Obtain_collapsible = Yes | |How to Obtain_collapsible = Yes | ||
|How to Obtain = Source,, Recipe | |How to Obtain = Source,, Recipe | ||
|Source = {{#if:{{#explode:{{{source}}}|;|1}}|{{List|{{{source}}}}}|{{{source|}}}}} | |Source = {{#if:{{#explode:{{{source}}}|;|1}}|{{List|{{{source}}}}}|{{{source|}}}}} | ||
|Recipe = {{{recipe|}}} | |Recipe = {{{recipe|}}} | ||
}}<!-- | |||
-->{{#invoke:Bucket|put|dishes | -->{{#invoke:Bucket|put|dishes | ||
|+templateargs = number, quality, category, type, cuisine, kitchenware, strength | |+templateargs = number, quality, category, type, cuisine, kitchenware, strength, favorite, sell, description, source | ||
|page_id = {{PAGEID}} | |page_id = {{PAGEID}} | ||
|category-delimiter = ; | |||
|type-delimiter = ; | |type-delimiter = ; | ||
|source-delimiter = ; | |source-delimiter = ; | ||
|recipe_source = {{{recipe|}}} | |recipe_source = {{{recipe|}}} | ||
}}<!-- | }}<!-- | ||
| Line 68: | Line 78: | ||
-->{{#if:{{{number|}}}|[[Category:Dish by Number|{{{number}}}]]|[[Category:Dish by Number]][[Category:Dish Missing Number]]}}<!-- | -->{{#if:{{{number|}}}|[[Category:Dish by Number|{{{number}}}]]|[[Category:Dish by Number]][[Category:Dish Missing Number]]}}<!-- | ||
Category | Category | ||
-->{{#if:{{{category|}}}| | -->{{#if:{{{category|}}}|{{Array|{{{category}}}|;|[[Category:{item}]]}}}}<!-- | ||
Type | Type | ||
-->{{#if:{{{ | -->{{#if:{{{types|}}}|{{Array|{{{types}}}|;|[[Category:{item} Dishes]]}}}}<!-- | ||
-->{{#if:{{{cuisine|}}}|[[Category:{{{cuisine}}} Cuisine Dishes]]}}<!-- | -->{{#if:{{{cuisine|}}}|[[Category:{{{cuisine}}} Cuisine Dishes]]}}<!-- | ||
-->{{#if:{{{kitchenware|}}}|[[Category:{{{kitchenware}}} Dishes]]}}<!-- | -->{{#if:{{{kitchenware|}}}|[[Category:{{{kitchenware}}} Dishes]]}}<!-- | ||
-->{{#if:{{{strength|}}}|[[Category:{{{strength}}} Strength Dishes]]}}<!-- | -->{{#if:{{{strength|}}}|[[Category:{{{strength}}} Strength Dishes]]}}<!-- | ||
Quality | Quality | ||
-->{{#switch:{{{quality}}}| | -->{{#switch:{{{quality}}}|Gray|Green|Purple|Gold=[[Category:{{{quality}}} Quality]]}} | ||
{{#if:{{{quality|}}}|[[Category:Dish by Quality|{{#switch:{{{quality|}}} | {{#if:{{{quality|}}}|[[Category:Dish by Quality|{{#switch:{{{quality|}}} | ||
| | |Gray = 0 | ||
| | |Green = 1 | ||
| | |Purple = 2 | ||
| | |Gold = 3 | ||
|#default = 4 | |#default = 4 | ||
}}]]}}<!-- | }}]]}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | --></includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | ||