Difference between revisions of "Template:FluidGauge"
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}} --> |