Template:AlchemyBubble/row: Difference between revisions
From IdleOn MMO Wiki
imported>Grzib mNo edit summary |
imported>Grzib mNo 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> | <th style="width:100%;">Description</th> | ||
<th style=" | <th style="border-radius:0 0.6em 0 0;">Materials</th> | ||
</tr> | </tr> | ||
|<tr style="{{#switch: {{{big}}} | |<tr style="{{#switch: {{{big}}} | ||
Line 18: | Line 18: | ||
<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; white-space:nowrap; "> | <td>{{{desc}}}</td> | ||
<ul style="list-style-type:none; line-height:0; margin-left:0; | <td style="font-size:15px; line-height:0%; white-space:nowrap; {{#if: {{{end|}}}|border-radius:0 0 0.6em 0;|}}"> | ||
<ul style="list-style-type:none; line-height:0; margin-left:0;> | |||
<li>{{#if: {{{mat1|}}}|{{CraftReq|{{{mat1}}}}}|}}</li> | <li>{{#if: {{{mat1|}}}|{{CraftReq|{{{mat1}}}}}|}}</li> | ||
<li>{{#if: {{{mat2|}}}|{{CraftReq|{{{mat2}}}}}|}}</li> | <li>{{#if: {{{mat2|}}}|{{CraftReq|{{{mat2}}}}}|}}</li> | ||
<li>{{#if: {{{mat3|}}}|{{CraftReq|{{{mat3}}}}}|}}</li> | <li>{{#if: {{{mat3|}}}|{{CraftReq|{{{mat3}}}}}|}}</li> | ||
<li>{{#if: {{{mat4|}}}|{{CraftReq|{{{mat4}}}}}|}}</li></ul></td> | <li>{{#if: {{{mat4|}}}|{{CraftReq|{{{mat4}}}}}|}}</li></ul></td> | ||
</tr> | </tr> | ||
}} | }} |
Revision as of 11:55, 14 December 2020
How to use Example: {{AlchemyBubble/row |icon=OrangeBubble1 <--- or GreenBubble7 / PurpleBubble4 / YellowBubble10... ---> |name=example name |desc=example description |mat1=example material 1 |mat2=example material 2 |mat3=example material 3 |mat4=example material 4 <--- might be a template later ---> }} 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 --->