Template:DGS Layout Functions