Hi....
Dimmers are just like switches except it's not ON and OFF. There are infinite "in between" between fully on and fully off. As already stated by previous posters, you appear to have a 3 way dimmer. You have a choice. You can either cap one of the "L" terminals or you could buy a regular dimmer. They'll both do the same thing.
Imagine a simple circuit. You have 2 wires coming from your plug. They both connect to a light socket. It's always ON. Now, imagine cutting one of the wires and splicing in a switch. You can turn it on and off. Now imagine, replacing that switch with a dimmer. You can adjust it from off to on and in between. There you have it. Typically COM (common) goes to the plug side and the other part you called L1 and L2 goes to the lamp1 and lamp2.
Now, you are dealing with a house-hold voltage. While it is not lethal in most situations, you must take special care since you'll be using it in darkroom where you can't really see and you have water/fluid. It CAN kill you in these situations. You'll need to be careful with wiring, take care to ground anything metal (if you use metal case for it), and depending on situations, use GFI (ground fault interrupter).
If you aren't sure of what you are doing, I caution you and hope you get some local help. You may even be able to get some help from a place you purchased your parts. I do have an electrical license but I'm not able to see what you have exactly and I'm guessing what you have from your descriptions.
But in a nutshell, what I said above is how you'd wire it.