In this standard "left" and "right" are as viewed from front of module, unless otherwise specified.
One safe, acceptable method of doing this is to use a "power strip" with a 6' cord screwed to right rear corner of module on bottom, with the cord run to the center of the module and secured every foot or so with a cable clip.
If the module has a local throttle, switch machine supply or similar device plugged into the power strip, you should consider how it is to be secured.
Connectors are Radio Shack part 274-201 for female connectors and 274-202 for male connectors. Female connectors go on the left end of the module, male connectors go on the right. Front rail goes to the wide spade on the connector; rear rail goes to the narrow spade.
Switches must be rated at 5 amps, 125 volts. Miniature type switches are not acceptable. See user interface standards for panel marking.
If you have a local track spanning multiple modules, the connection for this track should be "Green".
A note about pushbuttons for turnouts:
There are many inexpensive pushbuttons on the market. Most are intended for
test switches in electronic gear, carrying tiny currents and actuated only a
few times. Quality pushbuttons are a wise investment.
Red buttons are for switch machines. White are electromagnetic uncouplers. Any other color is for something else, and should have a label.
The control panel should have a black face. It should have a simplified track diagram showing the main line in white and all local track in bright colors, one color per block, and should be oriented correctly for it's normal operating angle.
Note that miniature switches are prohibited as power routing switches. This is not only for electrical reasons, but to distinguish them from toggles used for "tortoise" type switch machines.
The mainline cab select switch should be clearly marked "blue" and "red" and have the label "mainline cab select". It should NOT be mounted on a track line.
SPST "kill" switches should bear the label "kill" under the switch and be inserted in the track line at roughly the midpoint of the block. They should be oriented so that "up" is on; "down" is off.
Local/main switches should bear the label "local" and "main" and be inserted in the track line at roughly the midpoint of the block. They should be oriented so "main" is at the top.
Switch machine controls can be knobs, toggle switches, or pushbuttons. Knobs must have pointers. Turning the pointer to align with a track should align the turnout for travel on that track.
Toggle switches must be of the miniature variety to distinguish them from power routing. They should be oriented so the direction of the handle indicates which of the two routes the train will take.
Pushbuttons should be inserted in the two routes track lines near the switch. Red buttons are switch machines.
Red lamps in the track lines are an indication of switch setting. If you are using bi-color LED's to indicate track alignment, Green is the through track, Red is the blocked track.
Consider carefully how crossovers operated by a single controller are to be laid out.
Turntables, animated accessories, etc. should have clearly labeled controls. If it's not obvious to a person who's never seen the module before how to work the controls, there should be a little note.
Local throttles may be whatever the builder decides. Consider making them easy to use for a naive user. They must be mounted securely to the module.
If there are more controls, consider running short flexible leads to the control panel and attaching the control panel to the front of the module with double-lock tape fastener or a C-clamp. An alternate would be T-nuts and wing-bolts.
Suggested wiring diagram
Example with siding and local throttle