Template:Bubble: Difference between revisions

From IdleOn MMO Wiki
imported>BigCoight
mNo edit summary
mNo edit summary
 
(63 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<div class='bubbleDiv' data-basecost='{{{baseCost}}}' data-isliquid='{{{isLiquid}}}' 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}}}">
<div class = 'valInput'></div>
{{#vardefine:t1|{{#replace:{{{bonus}}}|{|<span class="bonusOut"></span>}}}}
<div class = 'material1'></div>
<table class="wikitable bubble" style="border-collapse:collapse">
<div class = 'material2'></div>
     <tr class="bubbleDesc">
<div class = 'material3'></div>
         <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>
<div class = 'material4'></div>
    </tr>
<div class = 'bonusOut'></div>
    <tr><td colspan="2" style="text-align:center; padding-top:.5em;">Lv. <span class="valInput"></span></td></tr>
</div>
    <tr class="dashdivider">
 
        <td>{{#if:{{{icon1|}}}|{{Icons|{{{icon1}}}|text={{{icon1}}}}}|}}<!--
<includeonly>
         -->{{#if:{{{spice1|}}}|{{Spice|{{{spice1}}}}}|}}<!--
<div>
         -->{{#if:{{{material1|}}}|{{CraftReq|{{{material1}}}}}|}}<!--
<table style = "width:50%; background:#e6e6e6; border-radius: 10px;border:1px solid black;">
        --> x<span class="material1"></span></td>
     <td colspan="2" style = "width:100%;">
         <td>Or {{Icons|Atoms|24|text=Atoms}} x<span class="atoms"></span></td>
         <table style = "width:100%;background:#916699;border-radius:10px 10px 0px 0px;">
     </tr>
            <tr style = "width:100%;">
     <tr style='text-align:left;'>
                <th style = "text-align:center;">{{{name}}}</th>
         <td>{{CraftReq|{{{material2}}}}} x<span class="material2"></span></td>
            </tr>
            <tr style = "width:100%;">
                <td style = "text-align:center;">{{{bonus}}}</td>
            </tr>
        </table>
    </td>
    {{#if:{{{material1|}}}|<tr>
        <td style = "width:80%;">{{CraftReq|{{{material1}}}}} </td>
         <td style = "width:20%;text-align:center;">x10</td>
    </tr>}}
    {{#if:{{{material2|}}}|<tr>
        <td style = "width:80%;">{{CraftReq|{{{material2}}}}} </td>
         <td style = "width:20%;text-align:center;>x20</td>
    </tr>}}
    {{#if:{{{material3|}}}|<tr>
        <td style = "width:80%;">{{CraftReq|{{{material3}}}}} </td>
         <td style = "width:20%;text-align:center;>x30</td>
     </tr>}}
     {{#if:{{{material4|}}}|<tr>
         <td style = "width:80%;">{{CraftReq|{{{material4}}}}} </td>
        <td style = "width:20%;text-align:center;>x40</td>
     </tr>
     </tr>
</table>
</table>
</div>
</div>
</includeonly>

Latest revision as of 13:07, 19 August 2024

{{{name}}}

bonus}}}

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