There are a variety of options when looking at modular connectors, also known as RJ connectors. There are options that start at four positions and go up to eight positions. Depending on the orientation it calls out a different number that comes after the letters RJ.
Here is a good visual representation of each style and how they are wired.
Common Wire Diagrams