Template:Infobox food and Template:Infobox food/Draft: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
No edit summary
 
No edit summary
 
Line 13: Line 13:
       <default>[[Consumable]]</default>
       <default>[[Consumable]]</default>
     </data>
     </data>
     <data source="recipe">
     <data source="recipe_source">
       <label>Recipe from</label>
       <label>Recipe source</label>
     </data>
     </data>
     <data source="source">
     <data source="source">
Line 55: Line 55:
     <data source="effect_source">
     <data source="effect_source">
     <label>Effect source</label>
     <label>Effect source</label>
    <format><!--
        -->{{#switch:{{{effect_source}}}<!--
          -->|Food|Drink  = {{Icon|{{{effect_source}}}|size=12}}<!--
          -->|#default    = {{{effect_source}}}<!--
        -->}}
        </format>
     </data>
     </data>
   </group>
   </group>
Line 63: Line 69:
       <default>{{#if:{{{buff|}}}|2h}}{{#if:{{{debuff|}}}|2h}}</default>
       <default>{{#if:{{{buff|}}}|2h}}{{#if:{{{debuff|}}}|2h}}</default>
     </data>
     </data>
     <data source="dur_bronze">
     <data source="bronze_dur">
       <label>{{q|1}}</label>
       <label>{{q|1}}</label>
       <default>{{#if:{{{buff|}}}|2h 18m}}{{#if:{{{debuff|}}}|2h 18m}}</default>
       <default>{{#if:{{{buff|}}}|2h 18m}}{{#if:{{{debuff|}}}|2h 18m}}</default>
     </data>
     </data>
     <data source="dur_silver">
     <data source="silver_dur">
       <label>{{q|2}}</label>
       <label>{{q|2}}</label>
  <default>{{#if:{{{buff|}}}|3h 36m}}{{#if:{{{debuff|}}}|3h 36m}}</default>
  <default>{{#if:{{{buff|}}}|3h 36m}}{{#if:{{{debuff|}}}|3h 36m}}</default>
     </data>
     </data>
     <data source="dur_gold">
     <data source="gold_dur">
       <label>{{q|3}}</label>
       <label>{{q|3}}</label>
  <default>{{#if:{{{buff|}}}|3h}}{{#if:{{{debuff|}}}|3h}}</default>
  <default>{{#if:{{{buff|}}}|3h}}{{#if:{{{debuff|}}}|3h}}</default>
     </data>
     </data>
     <data source="dur_osmium">
     <data source="osmium_dur">
       <label>{{q|4}}</label>
       <label>{{q|4}}</label>
  <default>{{#if:{{{buff|}}}|4h}}{{#if:{{{debuff|}}}|4h}}</default>
  <default>{{#if:{{{buff|}}}|4h}}{{#if:{{{debuff|}}}|4h}}</default>
Line 110: Line 116:
-->[[Category:Consumables]]<!--
-->[[Category:Consumables]]<!--
-->[[Category:Food]]<!--
-->[[Category:Food]]<!--
-->{{#if:{{{recipe|}}}|[[Category:Food with recipes]]}}<!--
-->{{#if:{{{recipe_source|}}}|[[Category:Food with recipes]]}}<!--
-->{{#if:{{{recipe_source|}}}|[[Category:{{{recipe_source}}} recipes]]}}<!--
  Gifted
-->{{#if:{{{recipe_source|}}}|<!--
    -->{{If match|{{{recipe_source|}}}<!--
        -->|NPC<!--
        -->|true=[[Category:Gifted recipes]]<!--
    -->}}<!--
-->}}<!--
-->{{#if:{{{buff|}}}|<!--
-->{{#if:{{{buff|}}}|<!--
     -->{{#switch:{{{buff|}}}<!--
     -->{{#switch:{{{buff|}}}<!--