Better example for versionadded/versionchanged

This provides a more comprehensive example than the one I originally
added here.
Merge pull request #9450 from terminalmage/docs

Better example for versionadded/versionchanged