Template:DGS Line Functions