Jack those two nuts that can slide up and down are actually adjustments to set the "full" and "empty" setting sweep of the needle!! I imagine you could bench test it with a sending unit. One of the nuts is marked "T" and the other "B" ...Top and Bottom of the sender range!!
You have the one on the left on the way, and as far as I know, they both work. If it doesn't, let me know and I will send you the other and hopefully that one will. I'm sure you know how it is with parts that have sat in a drawer for who-knows-how-long!
Mustafa, the two wires go to the terminals <u>above</u> the "sliding" nuts (which you really do not want to touch as they adjust the full and empty readings!). You are correct, the black goes to the center post and is the ground, the others as I said attach to each of the spade (square) terminals. If your wiring has eyes, you can switch them to female spades. You can use the crimp-on kind, though I prefer to solder my connections.
PS Green goes to the side marked "B" and green/black to side marked "T"