Adding ratio percentage parameter to templates