Template:AlchemyBubble/row: Difference between revisions

From IdleOn MMO Wiki
imported>Grzib
mNo edit summary
imported>Grzib
mNo edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<tr style="{{#if: {{{orange|}}}|background-color: #ff9933;|  
<tr style="{{#if: {{{orange|}}}|background-color: #ff9933;|  
           {{#if: {{{green|}}}|background-color: #2eb82e;|  
           {{#if: {{{green|}}}|background-color: #34cb34;|  
           {{#if: {{{purple|}}}|background-color: #b800e6;|  
           {{#if: {{{purple|}}}|background-color: #e066ff;|  
           {{#if: {{{yellow|}}}|background-color: #e6e600;|  }} }} }} }}">
           {{#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|  

Revision as of 18:29, 1 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
}}