Template:AlchemyBubble/row: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
mNo edit summary
imported>Kiokurashi
No edit summary
Line 20: Line 20:
   <td style="font-size:15px; line-height:0%; white-space:nowrap;">
   <td style="font-size:15px; line-height:0%; white-space:nowrap;">
   <ul style="list-style-type:none; line-height:0; margin: 0 5px 0 0;">
   <ul style="list-style-type:none; line-height:0; margin: 0 5px 0 0;">
   <li>{{#if: {{{mat1|}}}|{{CraftReq|{{{mat1}}}}}|}}</li>
   <li>{{#if: {{{mat1|}}}|{{CraftReq|{{{mat1}}}}}{{Usedin/datarow|item={{{mat1}}}|amount=Lots|type=Alchemy Bubble|source=Alchemy#Brewing{{!}}{{{name}}}}}|}}</li>
   <li>{{#if: {{{mat2|}}}|{{CraftReq|{{{mat2}}}}}|}}</li>
   <li>{{#if: {{{mat2|}}}|{{CraftReq|{{{mat2}}}}}{{Usedin/datarow|item={{{mat2}}}|amount=Lots|type=Alchemy Bubble|source=Alchemy#Brewing{{!}}{{{name}}}}}|}}</li>
   <li>{{#if: {{{mat3|}}}|{{CraftReq|{{{mat3}}}}}|}}</li>
   <li>{{#if: {{{mat3|}}}|{{CraftReq|{{{mat3}}}}}{{Usedin/datarow|item={{{mat3}}}|amount=Lots|type=Alchemy Bubble|source=Alchemy#Brewing{{!}}{{{name}}}}}|}}</li>
   <li>{{#if: {{{mat4|}}}|{{CraftReq|{{{mat4}}}}}|}}</li>
   <li>{{#if: {{{mat4|}}}|{{CraftReq|{{{mat4}}}}}{{Usedin/datarow|item={{{mat4}}}|amount=Lots|type=Alchemy Bubble|source=Alchemy#Brewing{{!}}{{{name}}}}}|}}</li>
   <li>{{#if: {{{liq1|}}}|{{Liquid|{{{liq1}}}}}|}}</li>
   <li>{{#if: {{{liq1|}}}|{{Liquid|{{{liq1}}}}}|}}</li>
   <li>{{#if: {{{liq2|}}}|{{Liquid|{{{liq2}}}}}|}}</li>
   <li>{{#if: {{{liq2|}}}|{{Liquid|{{{liq2}}}}}|}}</li>
Line 30: Line 30:
   <td style="padding:0 5px 0 5px; {{#if: {{{end|}}}|border-radius:0 0 0.6em 0;|}}">{{{effect}}}</td>
   <td style="padding:0 5px 0 5px; {{#if: {{{end|}}}|border-radius:0 0 0.6em 0;|}}">{{{effect}}}</td>
   </tr>
   </tr>
}}
}}{{Usedin/datarow|item={{{mat1}}}|amount=Lots|type=Alchemy Bubble|source=Alchemy#Brewing{{!}}{{{name}}}}}
</includeonly><noinclude>
</includeonly><noinclude>
<pre>
<pre>

Revision as of 04:37, 14 June 2021

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 --->