Removed $template from format_value function

Signed-off-by: Elliot Condon <e@elliotcondon.com>