[Tex/LaTex] Temporarily increase spacing between paragraphs in a quotation, and then put it back

paragraphsparskipspacing

I would like to add an extra blank line between paragraphs inside a quotation, but only inside of that quotation. I know you can do this using \parskip, but how do I restore the old value? I tried something like

\begin{figure}
\begin{quotation}
\setlength{\oldparskip}{\parskip}
\setlength{\parskip}{\baselineskip}
This is some text.

This is more text.

This is yet another paragraph.
\end{quotation}
\end{figure}
\setlength{\parskip}{\oldparskip}

But this doesn't work; I get an error saying the command \oldparskip isn't defined. I basically want a temporary variable, unless there's a way of introducing some sort of environment that will automatically restore the old value when it finishes.

Best Answer

setting \parskip shouldn't be automatically global, and if it's reset within a "closed" environment, it should automatically revert to its previous value when the environment is ended.

quotation should be a "closed" environment, and figure certainly is, so the only adjustment needed here is the single

\setlength{\parskip}{\baselineskip}

within the affected quotation.