Template:AlchemyBubble/row: Difference between revisions

From IdleOn MMO Wiki
imported>Grzib
mNo edit summary
imported>Blackwolfe
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly><tr style="{{#if: {{{orange|}}}|background-color: #ff993370;|  
<tr style="{{#if: {{{orange|}}}|background-color: #ff993370;|  
           {{#if: {{{green|}}}|background-color: #34cb3470;|  
           {{#if: {{{green|}}}|background-color: #34cb3470;|  
           {{#if: {{{purple|}}}|background-color: #e066ff70;|  
           {{#if: {{{purple|}}}|background-color: #e066ff70;|  
Line 12: Line 11:
   <td>{{{description}}}</td>
   <td>{{{description}}}</td>
   <td style="{{#if: {{{end|}}}|border-radius:0 0 0.6em 0;|}}">{{{materials}}}</td>
   <td style="{{#if: {{{end|}}}|border-radius:0 0 0.6em 0;|}}">{{{materials}}}</td>
</tr>
</tr></includeonly><noinclude>
</includeonly>
 
<noinclude>
<pre>Use |color=y (where color is one of cauldron colors: orange, green, purple, yellow) to determine row color for big bubbles.
<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.
Use |end=y if the row is the last of the table.
Line 28: Line 24:
}}
}}
</pre>
</pre>
[[Category:Table templates]]
</noinclude>
</noinclude>

Revision as of 20:57, 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
}}