I think you intend to use a potentiometer as a simple voltage divider to get an output voltage depending on where the potentiometer is set.
For lots of reasons, that's not going to work. In addition, it wouldn't work for more than a few mA of current, because the potentiometer is not built to handle lots of energy going through it.
The way you would do this is by using an adjustable linear regulator and replace one of the resistors that sets the output voltage of the linear regulator with a potentiometer.
Have a look at a datasheet for a linear regulator, for example have a look at LM317 and here's the datasheet for the one made by Texas Instruments :
http://www.ti.com/lit/ds/slvs044w/slvs044w.pdf Look at section 9, "Application and Information", there you can see a circuit showing how to use a potentiometer to adjust the output voltage. If you replace R1 in that example with a 100 ohm resistor (anything reasonable below 240 ohm will work) then you could probably use a 1 kohm potentiometer to get a wide range of voltages at the output.
For 1000 ohm , you'd have a maximum output voltage from the linear regulator equal to 1.25v ( (1 + R2 / R1) = 1.25 ( 1 + 1000 / 100) = 1.25 x 11 = 13.75v
Now of course, the linear regulator won't output 13.75v unless the input voltage is high enough, about 15v. With just 12v at the input, your range is about 1.25v - 11v.
As for how much current, a linear regulator like LM317 is capable of 1-1.5A which should be enough for most experiments. If you really want up to 18A, it's not a smart idea to use linear regulators but it is possible with other regulator chips installed in parallel, or using some tricks which are not the point of this reply.