Contracts?

Anybody have any tips on writing a contract for a client whose requested one? I’m really not sure what to put on there? Other then the legal stuff, what else should be on there? Any guidelines? Maybe a template I can borrow off of?