Template:Bubble: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
<div class="bubbleDiv GenericChild" data-number="{{{number}}}" data-basecost="{{{baseCost}}}" data-mattype="{{{matType}}}" data-x1="{{{x1}}}" data-x2="{{{x2}}}" data-func="{{{func}}}">
<div class="bubbleDiv GenericChild" data-number="{{{number}}}" data-basecost="{{{baseCost}}}" data-mattype="{{{matType}}}" data-x1="{{{x1}}}" data-x2="{{{x2}}}" data-func="{{{func}}}">
{{#vardefine:t1|{{#replace:{{{bonus}}}|{|<span class="bonusOut"></span>}}}}
{{#vardefine:t1|{{#replace:{{{bonus}}}|{|<span class="bonusOut"></span>}}}}
<table class="wikitable bubble">
<table class="wikitable bubble" style="border-collapse:collapse">
     <tr class="bubbleDesc">
     <tr class="bubbleDesc">
         <th colspan="2"><h3>{{#if: {{{number|}}}|[[File:{{#switch:{{SUBPAGENAME}}|Power Cauldron=Orange|Quicc Cauldron=Green|High-IQ Cauldron=Purple|Kazam Cauldron=Yellow}}Bubble{{{number}}}.png|36px|link=]]}} {{{name}}}</h3><p>{{#var:t1}}</p></th>
         <th colspan="2"><h3>{{#if: {{{number|}}}|[[File:{{#switch:{{SUBPAGENAME}}|Power Cauldron=Orange|Quicc Cauldron=Green|High-IQ Cauldron=Purple|Kazam Cauldron=Yellow}}Bubble{{{number}}}.png|36px|link=]]}} {{{name}}}</h3><p>{{#var:t1}}</p></th>
     </tr>
     </tr>
     <tr><td colspan="2" style="text-align:center; padding-top:.5em;">Lv. <span class="valInput"></span></td></tr>
     <tr><td colspan="2" style="text-align:center; padding-top:.5em;">Lv. <span class="valInput"></span></td></tr>
     <tr style='text-align:left;'>
     <tr style="border-bottom: dashed {{#switch:{{PAGENAME}}|Alchemy/Power Cauldron=rgb(255,148,32)|Alchemy/Quicc Cauldron=rgb(49,147,52)"|Alchemy/High-IQ Cauldron=rgb(166,97,189)|Alchemy/Kazam Cauldron=rgb(190,131,0)|black}}; text-align:left">
         <td style='border-bottom: dashed black;'>{{#if:{{{icon1|}}}|{{Icons|{{{icon1}}}|text={{{icon1}}}}}|{{CraftReq|{{{material1}}}}}}} x<span class="material1"></span></td>
         <td>{{#if:{{{icon1|}}}|{{Icons|{{{icon1}}}|text={{{icon1}}}}}|{{CraftReq|{{{material1}}}}}}} x<span class="material1"></span></td>
         <td style='border-bottom: dashed black;'>Or {{Icons|Atoms|24|text=Atoms}} x<span class="atoms"></span></td>
         <td>Or {{Icons|Atoms|24|text=Atoms}} x<span class="atoms"></span></td>
     </tr>
     </tr>
     <tr style='text-align:left;'>
     <tr style='text-align:left;'>

Revision as of 11:59, 21 July 2023

{{{name}}}

bonus}}}

Lv.
[[File:{{{material1}}}.png|36px|link={{{material1}}}]] [[{{{material1}}}|{{{material1}}}]] x Or Atoms.png Atoms x
[[File:{{{material2}}}.png|36px|link={{{material2}}}]] [[{{{material2}}}|{{{material2}}}]] x