Template:Dish Infobox: Difference between revisions
Appearance
Changed category to accept semicolon separated list. Storing "recipe" as "recipe_source" for bucket |
Reverted category change. Instead: now accepts "removed" as a separate boolean parameter |
||
| Line 25: | Line 25: | ||
--></span><!-- | --></span><!-- | ||
-->}} | -->}} | ||
|Category = | |Category = {{#if:{{{category|}}}|[[{{{category}}}]]}} | ||
|Type = {{#if:{{{type|}}}|{{Array|{{{type}}}|;|<ul><li>{item}</li></ul><!---->}}}} | |Type = {{#if:{{{type|}}}|{{Array|{{{type}}}|;|<ul><li>{item}</li></ul><!---->}}}} | ||
|Cuisine = {{#if:{{{cuisine|}}}|{{Item|{{{cuisine}}} Cuisine}}|}} | |Cuisine = {{#if:{{{cuisine|}}}|{{Item|{{{cuisine}}} Cuisine}}|}} | ||
| Line 59: | Line 55: | ||
|+templateargs = number, quality, category, type, cuisine, kitchenware, strength, favorite, sell, description, source | |+templateargs = number, quality, category, type, cuisine, kitchenware, strength, favorite, sell, description, source | ||
|page_id = {{PAGEID}} | |page_id = {{PAGEID}} | ||
|type-delimiter = ; | |type-delimiter = ; | ||
|source-delimiter = ; | |source-delimiter = ; | ||
|recipe_source = {{{recipe|}}} | |recipe_source = {{{recipe|}}} | ||
|removed = {{{removed|0}}} | |||
}}<!-- | }}<!-- | ||
| Line 78: | Line 74: | ||
-->{{#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|}}}|[[Category:{{{category}}}]]}}<!-- | ||
Type | Type | ||
-->{{#if:{{{types|}}}|{{Array|{{{types}}}|;|[[Category:{item} Dishes]]}}}}<!-- | -->{{#if:{{{types|}}}|{{Array|{{{types}}}|;|[[Category:{item} Dishes]]}}}}<!-- | ||
Revision as of 11:00, 11 May 2026
Template documentation
Note: parts of or the entire template might not be visible without values provided.
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
Syntax
{{Dish Infobox
|name =
|number =
|image =
|quality =
|category =
|type =
|cuisine =
|kitchenware =
|strength =
|effect =
|description =
|source =
|recipe =
}}
Examples
047Bamboo Apple Slushie
Information
Quality
Rare
Category
Type
- Dessert
Cuisine
Kitchenware
Strength
+60
Description
Yunguo has eighty-one favorite ways of enjoying an apple, and this is only one of them!
How to Obtain
Recipe
|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
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||