Difference between revisions of "Template:FluidGauge"
Jump to navigation
Jump to search
m (It worked better than the last times, perhaps a more direct solution is needed) |
m (I'll probably get this working eventually) |
||
Line 1: | Line 1: | ||
<includeonly> | |||
<div class="fluid-meter tooltip" data-amount="{{{Amount|0}}}" | <div class="fluid-meter tooltip" data-amount="{{{Amount|0}}}" | ||
<!-- Fluid Image --> | <!-- Fluid Image --> | ||
data-image="[[File:Grid_{{{Fluid|}}}.png]]" | data-image="[[File:Grid_{{{Fluid|}}}.png]]" | ||
data-image="{{filepath:Grid_{{{Fluid|}}}.png}}" --> | data-image="{{filepath:Grid_{{{Fluid|}}}.png}}" --> | ||
data-image="{{filepath:{{#if: {{{Fluid-image|}}}|{{{Fluid-image}}}|Grid_{{{Fluid}}}.png}}}}" | data-image="{{filepath:{{#if: {{{Fluid-image|}}}|{{{Fluid-image}}}|Grid_{{{Fluid}}}.png}}}}" | ||
Line 20: | Line 20: | ||
</div> | </div> | ||
</includeonly> | |||
<!-- Add this back later {{documentation}} --> | <!-- Add this back later {{documentation}} --> |
Revision as of 16:58, 1 September 2014