Template:AlchemyBubble/row: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
imported>Grzib
mNo edit summary
Line 4: Line 4:
           {{#if: {{{purple|}}}|background-color: #e066ff70;|  
           {{#if: {{{purple|}}}|background-color: #e066ff70;|  
           {{#if: {{{yellow|}}}|background-color: #e6e60070;|  }} }} }} }}">
           {{#if: {{{yellow|}}}|background-color: #e6e60070;|  }} }} }} }}">
   <th style="{{#if: {{{end|}}}|border-radius:0 0 0 0.6em;|}}">[[File:{{{icon}}}.png|{{#if: {{{orange|}}}|64px|  
   <th style="{{#if: {{{end|}}}|border-radius:0 0 0 0.6em;|}}">[[File:{{{icon}}}.png|
          {{#if: {{{orange|}}}|64px|  
           {{#if: {{{green|}}}|64px|  
           {{#if: {{{green|}}}|64px|  
           {{#if: {{{purple|}}}|64px|  
           {{#if: {{{purple|}}}|64px|  
           {{#if: {{{yellow|}}}|64px|48px}} }} }} }}]]</th>
           {{#if: {{{yellow|}}}|64px|48px}} }} }} }}]]</th>
   <th class="name">{{{name}}}</th>
   <th class="name">{{{name}}}</th>
   <td style="{{#if: {{{end|}}}|border-radius:0 0 0.6em 0;|}}">{{{description}}}</td>
  <td>{{{description}}}</td>
   <td style="{{#if: {{{end|}}}|border-radius:0 0 0.6em 0;|}}">{{{materials}}}</td>
</tr>
</tr>
</includeonly>
</includeonly>

Revision as of 17:14, 12 December 2020


Use |color=y (where color is one of cauldron colors: orange, green, purple, yellow) to determine row color for big bubbles.
Use |end=y if the row is the last of the table.

Example:
{{AlchemyBubble/row
|orange=y     <!-- This results in an orange row for big bubble
|icon=example
|name=example
|description=example
|end=y        <!-- This rounds the corners of the last row
}}