Template:Infobox body of water/length/switch

==Usage== This converts lengths taking data from infobox body of water/locate

If there is unexpected input, the subtemplate calls infobox body of water/error which deals with error messages and categories.