Template:Bubble: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
mNo edit summary
imported>Wekhter
mNo edit summary
Line 1: Line 1:
<div class="bubbleDiv GenericChild" data-basecost="{{{baseCost}}}" data-isliquid="{{{isLiquid}}}" data-x1="{{{x1}}}" data-x2="{{{x2}}}" data-func="{{{func}}}">
<div class="bubbleDiv GenericChild" 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}}}|{|<span class="bonusOut"></span>}}}}
<table>
<table>
     <tr class="bubbleDesc">
     <tr class="bubbleDesc">
         <td colspan="2"><h3 style="margin:0">{{#if: {{{icon|}}}|[[File:{{{icon}}}.png|36px|link=]]}} {{{name}}}</h3>{{#var:t1}}</td>
         <td colspan="2"><h3>{{#if: {{{icon|}}}|[[File:{{{icon}}}.png|36px|link=]]}} {{{name}}}</h3>{{#var:t1}}</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 9: Line 9:
     </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<span class="material1"></span></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<span class="material3"></span></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<span class="material2"></span></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<span class="material4"></span></td>}}
     </tr>}}
     </tr>}}
</table>
</table>
</div>
</div>

Revision as of 06:34, 2 October 2021

{{{name}}}

bonus}}}
Lv.