Template:Infobox: Difference between revisions

27 bytes removed ,  01:16, 13 September 2022
no edit summary
No edit summary
No edit summary
Line 5: Line 5:
{{#if:{{{description|}}}| {{{description|}}} |}}  
{{#if:{{{description|}}}| {{{description|}}} |}}  
|-
|-
| colspan=2 class="infobox-label" id="infobox-separator" | Information
| colspan=2 id="infobox-label" id="infobox-separator" | Information
|-
|-
{{#if:{{{type|}}}|<nowiki/>
{{#if:{{{type|}}}|<nowiki/>
   {{!}}-
   {{!}}-
   {{!}} class="infobox-label" {{!}} Type:
   {{!}} id="infobox-label" {{!}} Type:
   {{!}} {{#switch:{{{type|}}}
   {{!}} {{#switch:{{{type|}}}
           |Meal=[[File:Meals.png|22px|link=Meals]] [[Meals|Meal]]
           |Meal=[[File:Meals.png|22px|link=Meals]] [[Meals|Meal]]
Line 19: Line 19:
}}{{#if:{{{category|}}}|<nowiki/>
}}{{#if:{{{category|}}}|<nowiki/>
   {{!}}-
   {{!}}-
   {{!}} class="infobox-label" {{!}} Category:
   {{!}} id="infobox-label" {{!}} Category:
   {{!}} {{#switch:{{{category|}}}
   {{!}} {{#switch:{{{category|}}}
           |Vegetable=[[File:Vegetables.png|22px|link=Ingredients#Vegetables]] [[Ingredients#Vegetables|Vegetable]]
           |Vegetable=[[File:Vegetables.png|22px|link=Ingredients#Vegetables]] [[Ingredients#Vegetables|Vegetable]]
Line 43: Line 43:
}}{{#if:{{{buyprice|}}}|<nowiki/>
}}{{#if:{{{buyprice|}}}|<nowiki/>
   {{!}}-
   {{!}}-
   {{!}} class="infobox-label" {{!}} Costs:
   {{!}} id="infobox-label" {{!}} Costs:
   {{!}} {{price|{{{buyprice|}}}}}
   {{!}} {{price|{{{buyprice|}}}}}
}}{{#if:{{{sellprice|}}}|<nowiki/>
}}{{#if:{{{sellprice|}}}|<nowiki/>
   {{!}}-
   {{!}}-
   {{!}} class="infobox-label" {{!}} Sells for:
   {{!}} id="infobox-label" {{!}} Sells for:
   {{!}} {{price|{{{sellprice|}}}}}
   {{!}} {{price|{{{sellprice|}}}}}
}}{{#if:{{{energy|}}}|<nowiki/>
}}{{#if:{{{energy|}}}|<nowiki/>
   {{!}}-
   {{!}}-
   {{!}} class="infobox-label" {{!}} Energy:
   {{!}} id="infobox-label" {{!}} Energy:
   {{!}} {{energy|{{{energy|}}}}}
   {{!}} {{energy|{{{energy|}}}}}
}}{{#if:{{{found|}}}|<nowiki/>
}}{{#if:{{{found|}}}|<nowiki/>
   {{!}}-
   {{!}}-
   {{!}} class="infobox-label" {{!}} Found:
   {{!}} id="infobox-label" {{!}} Found:
   {{!}} {{{found|}}}
   {{!}} {{{found|}}}
}}{{#if:{{{from|}}}|<nowiki/>
}}{{#if:{{{from|}}}|<nowiki/>
   {{!}}-
   {{!}}-
   {{!}} class="infobox-label" {{!}} From:
   {{!}} id="infobox-label" {{!}} From:
   {{!}} {{{from|}}}
   {{!}} {{{from|}}}
}}{{#if:{{{ingredients|}}}|<nowiki/>
}}{{#if:{{{ingredients|}}}|<nowiki/>
   {{!}}-
   {{!}}-
   {{!}} class="infobox-label" {{!}} Ingredients:
   {{!}} id="infobox-label" {{!}} Ingredients:
   {{!}} {{{ingredients|}}}
   {{!}} {{{ingredients|}}}
}}
}}
|}
|}
<noinclude>[[Category:Template]]</noinclude>
<noinclude>[[Category:Template]]</noinclude>