Template:AlchemyBubble/row: Difference between revisions
From IdleOn MMO Wiki
imported>Grzib mNo edit summary |
imported>Grzib No edit summary |
||
Line 7: | Line 7: | ||
|yellow=background-color: #e6e600;}}"> | |yellow=background-color: #e6e600;}}"> | ||
<th style="border-radius:0.6em 0 0 0; padding:15px 0 15px 0;">Icon</th> | <th style="border-radius:0.6em 0 0 0; padding:15px 0 15px 0;">Icon</th> | ||
<th>Name</th> | <th>Name</th> | ||
<th style="width: | <th>Materials</th> | ||
<th style="border-radius:0 0.6em 0 0;"> | <th style="width:30%;">Effect</th> | ||
<th style="width:70%; border-radius:0 0.6em 0 0;">Description</th> | |||
</tr> | </tr> | ||
|<tr style="{{#switch: {{{big}}} | |<tr style="{{#switch: {{{big}}} | ||
Line 18: | Line 19: | ||
<th style="{{#if: {{{end|}}}|border-radius:0 0 0 0.6em;|}}">[[File:{{{icon}}}.png|{{#if: {{{big|}}}|64px|48px}}]]</th> | <th style="{{#if: {{{end|}}}|border-radius:0 0 0 0.6em;|}}">[[File:{{{icon}}}.png|{{#if: {{{big|}}}|64px|48px}}]]</th> | ||
<th class="name">{{{name}}}</th> | <th class="name">{{{name}}}</th> | ||
<td style="font-size:15px; line-height:0%; white-space:nowrap; padding:0 5px 0 0;"> | |||
<td style="font-size:15px; line-height:0%; white-space:nowrap; | <ul style="list-style-type:none; line-height:0;> | ||
<ul style="list-style-type:none; line-height | |||
<li>{{#if: {{{mat1|}}}|{{CraftReq|{{{mat1}}}}}|}}</li> | <li>{{#if: {{{mat1|}}}|{{CraftReq|{{{mat1}}}}}|}}</li> | ||
<li>{{#if: {{{mat2|}}}|{{CraftReq|{{{mat2}}}}}|}}</li> | <li>{{#if: {{{mat2|}}}|{{CraftReq|{{{mat2}}}}}|}}</li> | ||
Line 29: | Line 29: | ||
<li>{{#if: {{{liq3|}}}|{{Liquid|{{{liq3}}}}}|}}</li> | <li>{{#if: {{{liq3|}}}|{{Liquid|{{{liq3}}}}}|}}</li> | ||
<li>{{#if: {{{liq4|}}}|{{Liquid|{{{liq4}}}}}|}}</li></ul></td> | <li>{{#if: {{{liq4|}}}|{{Liquid|{{{liq4}}}}}|}}</li></ul></td> | ||
<td style="padding:0 5px 0 0;"> {{{effect}}} </td> | |||
<td style="padding:0 5px 0 0; {{#if: {{{end|}}}|border-radius:0 0 0.6em 0;|}}">{{{desc}}}</td> | |||
</tr> | |||
}} | }} | ||
</includeonly> | </includeonly> | ||
Line 42: | Line 44: | ||
|icon=OrangeBubble1 <--- or GreenBubble7 / PurpleBubble4 / YellowBubble10... ---> | |icon=OrangeBubble1 <--- or GreenBubble7 / PurpleBubble4 / YellowBubble10... ---> | ||
|name=example name | |name=example name | ||
|desc=example description | |effect=example effect <--- the part of description that mentions the bonus ---> | ||
|desc=example description <--- the rest of description (flavor text, etc.) ---> | |||
|liq1-4=1-4 <--- 1 for Water, 2 for Nitrogen, etc. ---> | |liq1-4=1-4 <--- 1 for Water, 2 for Nitrogen, etc. ---> | ||
|mat1-4=example material | |mat1-4=example material |
Revision as of 13:50, 14 December 2020
How to use Example: {{AlchemyBubble/row |icon=OrangeBubble1 <--- or GreenBubble7 / PurpleBubble4 / YellowBubble10... ---> |name=example name |effect=example effect <--- the part of description that mentions the bonus ---> |desc=example description <--- the rest of description (flavor text, etc.) ---> |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 --->