Template:Bubble: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
imported>Wekhter
mNo edit summary
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" data-basecost="{{{baseCost}}}" data-isliquid="{{{isLiquid}}}" data-x1="{{{x1}}}" data-x2="{{{x2}}}" data-func="{{{func}}}">
{{#vardefine:t1|{{#replace:{{{bonus}}}|{|<div class='bonusOut' style = 'display:inline-block'></div>}}}}
{{#vardefine:t1|{{#replace:{{{bonus}}}|{|<div class="bonusOut" style="display:inline-block"></div>}}}}
<table style = "width:40%; background:#e6e6e6; border-radius: 10px;border:1px solid black;">
<table style="background:#e6e6e6; border-radius: 10px;border:1px solid black;">
     <td colspan="2" style = "width:100%;">
     <td colspan="2" style="width:100%;">
         <table style = "width:100%;background:#916699;border-radius:10px 10px 0px 0px;">
         <table style="width:100%;background:#916699;border-radius:10px 10px 0px 0px;">
             <tr style = "width:100%;">
             <tr style="width:100%;">
                 <th style = "text-align:center;">{{{name}}}</th>
                 <th style="text-align:center;">{{{name}}}</th>
             </tr>
             </tr>
             <tr style = "width:100%;">
             <tr style="width:100%;">
                 <td style = "text-align:center;">{{#var:t1}}</td>
                 <td style="text-align:center;">{{#var:t1}}</td>
             </tr>
             </tr>
         </table>
         </table>
     </td>
     </td>
     <tr colspan="2" style = "width:100%;">
     <tr colspan="2" style="width:100%;">
         <td colspan="2" style = "text-align:center;">Lv. <div class = 'valInput' style="display: inline-block;"></div></td>
         <td colspan="2" style="text-align:center;">Lv. <div class="valInput" style="display:inline-block;"></div></td>
     </tr>
     </tr>
     {{#if:{{{material1|}}}|<tr>
     {{#if:{{{material1|}}}|<tr>
         <td style = "width:50%;">{{CraftReq|{{{material1}}}}} x<div class = 'material1' style="display: inline-block;"></div></td>
         <td style="width:50%;">{{CraftReq|{{{material1}}}}} x<div class="material1" style="display:inline-block;"></div></td>
         {{#if:{{{material3|}}}|<td style = "width:50%;">{{CraftReq|{{{material3}}}}} x<div class = 'material3' style="display: inline-block;"></div> </td>}}
         {{#if:{{{material3|}}}|<td style="width:50%;">{{CraftReq|{{{material3}}}}} x<div class="material3" style="display:inline-block;"></div> </td>}}
     </tr>}}
     </tr>}}
     {{#if:{{{material2|}}}|<tr>
     {{#if:{{{material2|}}}|<tr>
         <td style = "width:50%;">{{CraftReq|{{{material2}}}}} x<div class = 'material2' style="display: inline-block;"></div></td>
         <td style="width:50%;">{{CraftReq|{{{material2}}}}} x<div class="material2" style="display:inline-block;"></div></td>
         {{#if:{{{material4|}}}|<td style = "width:50%;">{{CraftReq|{{{material4}}}}} x<div class = 'material4' style="display: inline-block;"></div></td>}}
         {{#if:{{{material4|}}}|<td style="width:50%;">{{CraftReq|{{{material4}}}}} x<div class="material4" style="display:inline-block;"></div></td>}}
     </tr>}}
     </tr>}}
</table>
</table>
</div>
</div>

Revision as of 17:38, 30 June 2021

{{{name}}}
bonus}}}
Lv.