Template:AlchemyBubble/row: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
imported>Blackwolfe
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<tr style="{{#if: {{{orange|}}}|background-color: #ccff9933;|  
<tr style="{{#if: {{{orange|}}}|background-color: #ff9933;|  
           {{#if: {{{green|}}}|background-color: #cc34cb34;|  
           {{#if: {{{green|}}}|background-color: #34cb34;|  
           {{#if: {{{purple|}}}|background-color: #cce066ff;|  
           {{#if: {{{purple|}}}|background-color: #e066ff;|  
           {{#if: {{{yellow|}}}|background-color: #cce6e600;|  }} }} }} }}">
           {{#if: {{{yellow|}}}|background-color: #e6e600;|  }} }} }} }}">
   <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|  

Revision as of 09:27, 3 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
}}