Template:Dish Infobox: Difference between revisions
Template page
More actions
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]]}}}}<!-- | ||