Template:AlchemyBubble/row: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
No edit summary
imported>Kiokurashi
No edit summary
Line 19: Line 19:
   <li>{{#if: {{{liq2|}}}|{{Liquid|{{{liq2}}}}}|}}</li>
   <li>{{#if: {{{liq2|}}}|{{Liquid|{{{liq2}}}}}|}}</li>
   <li>{{#if: {{{liq3|}}}|{{Liquid|{{{liq3}}}}}|}}</li>
   <li>{{#if: {{{liq3|}}}|{{Liquid|{{{liq3}}}}}|}}</li>
   <li>{{#if: {{{liq4|}}}|{{Liquid|{{{liq4}}}}}|}}</li></ul></td>
   <li>{{#if: {{{liq4|}}}|{{Liquid|{{{liq4}}}}}|}}</li></ul><div style="display:none;">{{#ifeq:{{PAGENAME}}|Alchemy||<!--
  <td>{{{effect}}}</td><td style="display:none;">{{#ifeq:{{PAGENAME}}|Alchemy||<!--
-->{{#if:{{{mat1|}}}|{{Usedin/datarow|item={{{mat1}}}|amount=Lots|type=Alchemy Bubble|source=Alchemy#Cauldron{{!}}{{{name}}}}}|}}<!--
-->{{#if:{{{mat1|}}}|{{Usedin/datarow|item={{{mat1}}}|amount=Lots|type=Alchemy Bubble|source=Alchemy#Cauldron{{!}}{{{name}}}}}|}}<!--
-->{{#if:{{{mat2|}}}|{{Usedin/datarow|item={{{mat2}}}|amount=Lots|type=Alchemy Bubble|source=Alchemy#Cauldron{{!}}{{{name}}}}}|}}<!--
-->{{#if:{{{mat2|}}}|{{Usedin/datarow|item={{{mat2}}}|amount=Lots|type=Alchemy Bubble|source=Alchemy#Cauldron{{!}}{{{name}}}}}|}}<!--
-->{{#if:{{{mat3|}}}|{{Usedin/datarow|item={{{mat3}}}|amount=Lots|type=Alchemy Bubble|source=Alchemy#Cauldron{{!}}{{{name}}}}}|}}<!--
-->{{#if:{{{mat3|}}}|{{Usedin/datarow|item={{{mat3}}}|amount=Lots|type=Alchemy Bubble|source=Alchemy#Cauldron{{!}}{{{name}}}}}|}}<!--
-->{{#if:{{{mat4|}}}|{{Usedin/datarow|item={{{mat4}}}|amount=Lots|type=Alchemy Bubble|source=Alchemy#Cauldron{{!}}{{{name}}}}}|}}}}</td></tr>
-->{{#if:{{{mat4|}}}|{{Usedin/datarow|item={{{mat4}}}|amount=Lots|type=Alchemy Bubble|source=Alchemy#Cauldron{{!}}{{{name}}}}}|}}}}</div></td>
  <td>{{{effect}}}</td></tr>
}}
}}
</includeonly><noinclude>
</includeonly><noinclude>

Revision as of 21:57, 8 February 2022

How to use

Example:

{{AlchemyBubble/row
|icon=OrangeBubble1       <--- or GreenBubble7 / PurpleBubble4 / YellowBubble10... --->
|name=example name
|effect=example description     <--- the bubble description --->
|liq1-4=1-4         <--- 1 for Water, 2 for Nitrogen, etc. --->
|mat1-4=example material
}}

Other parameters:

|big=orange             <--- or green / purple / yellow - insert for big (active) bubbles --->
|head=orange            <--- or green / purple / yellow - insert on the first row, replaces the row with header --->
|end=yes                <--- insert on the final row, rounds bottom corners of the table --->