Report as inappropriate

Nearly. You take the ground out to the same connection as the ground in. Positive out goes to the fan. Ground out of the fan goes to the fan ground connection, where it is switched via a NPN transistor to give speed control.
To be honest I sometimes use step downs for fixed speed fans, but half decent 5015 part fans are available in 24v, so I simply buy those.