Template:Infobox UK place/dens

this template is for formatting a density (using Template:Convert)

if type=mile then output is sqmi (km2) otherwise km2 (sqmi) rounding of output is to nearest whole number