Well, there is a lot of steps really, the first being making ways, and then tagging them with reference to the Map Features list.
http://wiki.openstreetmap.org/index.php/Editing helps a lot. The map you provided was made with Osmarender.