*I have very little experience with WordPress and PHP, so I apologize in advance for syntax problems.*

I'd like to know if it's possible to implement If/Else logic as short codes.  Something like:

    [if] Version: IF [elseif] Version: ELSEIF [else] Version: ELSE [/if]
    // OR...
    [if] Version: IF [if branch="elseif"] Version: ELSEIF [if branch="else"] Version: ELSE [/if]

If you want more background into why I would want to do such an idiotic thing, see the referenced post on SO.

[Parse CFML tags in PHP][1]


  [1]: http://stackoverflow.com/questions/3944091/parse-cfml-tags-in-php