Template:Unit bar
This template should only be used in other templates. For a general progress bar, please use Template:Percentage bar.
This template will create a percentage bar based on units given, and use delta. The first parameter given is the total units used, and the second parameter is the use delta. This should be a decimal between 0 and 1. The template will automatically calculate the percentage used, and take that away from 100, displaying the bar and units used above.
Usage
{{Unit bar|Units used|Use delta}}
Example
{{Unit bar|2|0.1}}