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>
<tr style="{{#if: {{{orange|}}}|background-color: #ff9933;|  
<tr style="{{#if: {{{orange|}}}|background-color: #ff9933;|  
           {{#if: {{{green|}}}|background-color: #2eb82e;|  
           {{#if: {{{green|}}}|background-color: #2eb82e;|  
Line 10: Line 11:
   <td style="{{#if: {{{end|}}}|border-radius:0 0 0.6em 0;|}}">{{{description}}}</td>
   <td style="{{#if: {{{end|}}}|border-radius:0 0 0.6em 0;|}}">{{{description}}}</td>
</tr>
</tr>
</includeonly>
<noinclude>
<pre>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
}}
</pre>
</noinclude>

Revision as of 17:53, 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
}}