Unifying Competing Orders on the Square and Triangular Lattice