{{/* Template Attributes: * Addition: Number of additions * Deletion: Number of deletions * Classes: Additional classes for the root element */}} {{if or .Addition .Deletion}}
{{if .Addition}}+{{.Addition}}{{end}} {{if .Deletion}}-{{.Deletion}}{{end}} {{/* if the denominator is zero, then the float result is "width: NaNpx", as before, it just works */}}
{{end}}