Template:AlchemyBubble/row: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
mNo edit summary
imported>Wekhter
mNo edit summary
Line 6: Line 6:
   |purple=background-color: #cb79e3;
   |purple=background-color: #cb79e3;
   |yellow=background-color: #edc300;}}">
   |yellow=background-color: #edc300;}}">
   <th style="border-radius:0.6em 0 0 0; padding:5px 0;">Icon</th>
   <th style="width:5%; border-radius:0.6em 0 0 0;">Icon</th>
   <th>Name</th>   
   <th style="width:15%;">Name</th>   
   <th style="width:20%;">Materials</th>
   <th style="width:20%;">Materials</th>
   <th style="width:65%; border-radius:0 0.6em 0 0;">Description</th>
   <th style="width:55%; border-radius:0 0.6em 0 0;">Description</th>
  </tr>
  </tr>
|<tr {{#if: {{{big|}}}|class="big"|}}>
|<tr {{#if: {{{big|}}}|class="big"|}}>
   <th style="{{#if: {{{end|}}}|border-radius:0 0 0 0.6em;|}}">[[File:{{{icon}}}.png|{{#if: {{{big|}}}|64px|48px}}|link=]]</th>
   <th class="icon" {{#if: {{{end|}}}|style="border-radius:0 0 0 0.6em;"|}}>[[File:{{{icon}}}.png|{{#if: {{{big|}}}|64px|48px}}|link=]]</th>
   <th class="name" id="{{{name}}}">{{{name}}}</th>
   <th class="name" id="{{{name}}}">{{{name}}}</th>
   <td style="font-size:15px; line-height:0%; white-space:nowrap;">
   <td style="font-size:15px; line-height:0%; white-space:nowrap;">
Line 24: Line 24:
   <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; {{#if: {{{end|}}}|border-radius:0 0 0.6em 0;|}}">{{{effect}}}</td><!--
   <td{{#if: {{{end|}}}|style="border-radius:0 0 0.6em 0;"|}}>{{{effect}}}</td><!--
-->{{#if:{{{mat1|}}}|{{Usedin/datarow|item={{{mat1}}}|amount=Lots|type=Alchemy Bubble|source=Alchemy#Brewing{{!}}{{{name}}}}}|}}<!--
-->{{#if:{{{mat1|}}}|{{Usedin/datarow|item={{{mat1}}}|amount=Lots|type=Alchemy Bubble|source=Alchemy#Brewing{{!}}{{{name}}}}}|}}<!--
-->{{#if:{{{mat2|}}}|{{Usedin/datarow|item={{{mat2}}}|amount=Lots|type=Alchemy Bubble|source=Alchemy#Brewing{{!}}{{{name}}}}}|}}<!--
-->{{#if:{{{mat2|}}}|{{Usedin/datarow|item={{{mat2}}}|amount=Lots|type=Alchemy Bubble|source=Alchemy#Brewing{{!}}{{{name}}}}}|}}<!--

Revision as of 21:56, 30 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 --->