Template:AlchemyBubble/row: Difference between revisions
From IdleOn MMO Wiki
imported>Wekhter mNo edit summary |
imported>Wekhter mNo edit summary |
||
Line 2: | Line 2: | ||
{{#if: {{{head|}}} | {{#if: {{{head|}}} | ||
|<tr style="{{#switch: {{{head}}} | |<tr style="{{#switch: {{{head}}} | ||
|orange=background-color: # | |orange=background-color: #ef8a28; | ||
|green=background-color: # | |green=background-color: #47db5a; | ||
|purple=background-color: # | |purple=background-color: #cb79e3; | ||
|yellow=background-color: # | |yellow=background-color: #edc300;}}"> | ||
<th style="border-radius:0.6em 0 0 0; padding:5px 0;">Icon</th> | <th style="border-radius:0.6em 0 0 0; padding:5px 0;">Icon</th> | ||
<th>Name</th> | <th>Name</th> | ||
Line 11: | Line 11: | ||
<th style="width:65%; border-radius:0 0.6em 0 0;">Description</th> | <th style="width:65%; border-radius:0 0.6em 0 0;">Description</th> | ||
</tr> | </tr> | ||
|<tr | |<tr {{#if: {{{big|}}}|class="big"|}}> | ||
<th style="{{#if: {{{end|}}}|border-radius:0 0 0 0.6em;|}}">[[File:{{{icon}}}.png|{{#if: {{{big|}}}|64px|48px}}|link=]]</th> | <th style="{{#if: {{{end|}}}|border-radius:0 0 0 0.6em;|}}">[[File:{{{icon}}}.png|{{#if: {{{big|}}}|64px|48px}}|link=]]</th> | ||
<th class="name" id="{{{name}}}">{{{name}}}</th> | <th class="name" id="{{{name}}}">{{{name}}}</th> |
Revision as of 19:50, 30 June 2021
How to use Example: {{AlchemyBubble/row |icon=OrangeBubble1 <--- or GreenBubble7 / PurpleBubble4 / YellowBubble10... ---> |name=example name |effect=example description <--- the bubble description ---> |liq1-4=1-4 <--- 1 for Water, 2 for Nitrogen, etc. ---> |mat1-4=example material }} Other parameters: |big=orange <--- or green / purple / yellow - insert for big (active) bubbles ---> |head=orange <--- or green / purple / yellow - insert on the first row, replaces the row with header ---> |end=yes <--- insert on the final row, rounds bottom corners of the table --->