Use this wiring when the power source originates at the switch and you want to control both the fan and light from there. The hot source is connected directly to the bottom terminal on the switch. Two-wire cable runs from there to the ceiling fan.
To wire a 3-way switch circuit that controls both the fan and the light, use this diagram. As with all 3-way circuits, the common on one switch is connected to the hot source wire from the circuit. The common on the second 3-way switch is connected to the hot wires on the fan/light.
Here two receptacles in one box are wired using the device terminals. With this arrangement, if receptacle #1 fails, receptacle #2 may also fail if failure is due to physical damage. However, if the copper tab conductors between the terminals remain intact, even if #1 stops functioning, receptacle #2 will probably still work.
In this arrangement with 2 switches in one box, the bottom terminals are connected to pigtails spliced to the source. The top switch terminals connect to the black wires running to the light fixtures. The source neutral and ground wires are spliced to run to each light box.