Help need to define a conditional parameter for a procedure

I was trying to use this code you shared previously.
There I saw you have used version=<<version>>
I was trying to make that into a conditional parameter