Template:Test: Difference between revisions
From IdleOn MMO Wiki
imported>Grzib mNo edit summary |
imported>Grzib mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | |||
{{#if: {{{head|}}}|<tr style="{{#switch: {{{head}}} | {{#if: {{{head|}}}|<tr style="{{#switch: {{{head}}} | ||
|orange=background-color: #ff9933; | |orange=background-color: #ff9933; | ||
Line 20: | Line 21: | ||
</tr> | </tr> | ||
}} | }} | ||
</includeonly> | |||
<noinclude> | |||
<pre> | |||
How to use | |||
Example: | |||
{{AlchemyBubble | |||
|icon=OrangeBubble1 <--- or GreenBubble7 / PurpleBubble4 / YellowBubble10... ---> | |||
|name=example name | |||
|description=example description | |||
|materials=example materials <--- 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 ---> | |||
</pre> | |||
</noinclude> |
Revision as of 20:25, 13 December 2020
How to use Example: {{AlchemyBubble |icon=OrangeBubble1 <--- or GreenBubble7 / PurpleBubble4 / YellowBubble10... ---> |name=example name |description=example description |materials=example materials <--- 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 --->