Template:AlchemyBubble/row: Difference between revisions

From IdleOn MMO Wiki
imported>Grzib
mNo edit summary
mNo edit summary
 
(77 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<tr style="{{#if: {{{big_orange|}}}|background-color:red;|  
<includeonly>
          {{#if: {{{big_green|}}}|background-color:green;|
<tr {{#if: {{{big|}}}|class="big"|}}>
          {{#if: {{{big_purple|}}}|background-color:purple;|  
  <td class="icon">[[File:{{{icon}}}.png|{{#if: {{{big|}}}|64px|48px}}|link=]]</td>
          {{#if: {{{big_yellow|}}}|background-color:yellow;| }} }} }} }}">
  <td class="name" id="{{{name}}}">{{{name}}}</td>
  <th style="{{#if: {{{end|}}}|border-radius:0 0 0 0.6em;|}}">[[File:{{{icon}}}.png|{{#if: {{{bigbubble|}}}|64px|48px}}]]</th>
  <td>
  <th class="name">{{{name}}}</th>
    <ul style="list-style-type:none; margin: 0 5px 0 0;">
  <td style="{{#if: {{{end|}}}|border-radius:0 0 0.6em 0;|}}">{{{description}}}</td>
      <li>{{#if: {{{mat1|}}}|{{CraftReq|{{{mat1}}}}}{{Usedin/datarow|icon={{{icon}}}|item={{{mat1}}}|amount=Lots|type=Alchemy Bubble{{Tooltip|{{{effect}}}}}|source={{PAGENAME}}#{{{name}}}{{!}}{{{name}}}}}|}}</li>
</tr>
      <li>{{#if: {{{icon1|}}}|{{Icons|{{{icon1}}}|text={{{icon1}}}}}|}}</li>
      <li>{{#if: {{{Spice1|}}}|{{Spice|{{{Spice1}}}}}|}}</li>
      <li>{{#if: {{{liq1|}}}|{{Liquid|{{{liq1}}}}}|}}</li>
      <li>{{#if: {{{liq2|}}}|{{Liquid|{{{liq2}}}}}|}}</li>
    </ul>
  </td>
  <td>{{{effect}}}</td>
  </tr>
</includeonly><noinclude>
<pre>
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 --->
</pre>
[[Category:Table templates]]
</noinclude>

Latest revision as of 13:11, 19 August 2024

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