Converts decimal values into dms.

Subtemplate of {{coord}}. Do not use directly.