Difference between revisions of "Template:FluidGauge"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m (This could work. Or it couldn't.)
m (It worked better than the last times, perhaps a more direct solution is needed)
Line 1: Line 1:
<includeonly>
<!-- <includeonly> -->
<div class="fluid-meter tooltip" data-amount="{{{Amount|0}}}"  
<div class="fluid-meter tooltip" data-amount="{{{Amount|0}}}"  


Line 20: Line 20:
</div>
</div>


</includeonly>
<!-- </includeonly> -->
 
<includeonly><div class="fluid-meter tooltip" data-amount="{{{Amount|0}}}" data-image="{{filepath:{{#if: {{{Fluid-image|}}}|{{{Fluid-image}}}|Grid_{{{Fluid}}}.png}}}}" data-tooltip="{{formatnum:{{#expr: {{{Amount|0}}} * 1000}}}}mB of {{{Fluid}}}" style="{{#ifexpr:{{{height|0}}}=116|height:116px;|height:120px;}}
<!--{{#if:{{{bottom|}}}|bottom:{{{bottom}}}px;}}{{#if:{{{top|}}}|top:{{{top}}}px;}}{{#if:{{{left|}}}|left:{{{left}}}px;}}{{#if:{{{right|}}}|right:{{{right}}}px;}}"-->>
<div class="gauge"></div>
[[File:GUI tank_{{{width|24}}}_{{{height|94}}}.png|link={{{Fluid|}}}]]
</div></includeonly>
 


<!-- Add this back later {{documentation}} -->
<!-- Add this back later {{documentation}} -->

Revision as of 14:44, 1 September 2014

data-image="" --> data-image=""

data-tooltip="0mB of {{{Fluid}}}" style="height94px;>

Grid Water.png


GUI tank 24 94.png