Template:AlchemyBubble/row: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
imported>Wekhter
mNo edit summary
Line 9: Line 9:
   <th>Name</th>   
   <th>Name</th>   
   <th style="width:15%;">Materials</th>
   <th style="width:15%;">Materials</th>
   <th style="width:40%;">Effect</th>
   <th style="width:80%; border-radius:0 0.6em 0 0;">Description</th>
  <th style="width:40%; border-radius:0 0.6em 0 0;">Description</th>
  </tr>
  </tr>
|<tr style="{{#switch: {{{big}}}
|<tr style="{{#switch: {{{big}}}
Line 29: Line 28:
   <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></td>
  <td style="padding:0 5px 0 5px;"> {{{effect}}} </td>
   <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;|}}">{{{desc}}}</td>
   </tr>
   </tr>
}}
}}
</includeonly>
</includeonly><noinclude>
 
<noinclude>
<pre>
<pre>
How to use
How to use
Line 44: Line 40:
|icon=OrangeBubble1      <--- or GreenBubble7 / PurpleBubble4 / YellowBubble10... --->
|icon=OrangeBubble1      <--- or GreenBubble7 / PurpleBubble4 / YellowBubble10... --->
|name=example name
|name=example name
|effect=example effect        <--- the part of description that mentions the bonus --->
|effect=example description    <--- the bubble description --->
|desc=example description    <--- the rest of description (flavor text, etc.) --->
|liq1-4=1-4        <--- 1 for Water, 2 for Nitrogen, etc. --->
|liq1-4=1-4        <--- 1 for Water, 2 for Nitrogen, etc. --->
|mat1-4=example material
|mat1-4=example material

Revision as of 04:10, 2 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 --->