expanded rdoc for chain and reflection_names
use | to have more intent revealing code

thanks to @egilburg for suggestion
template should have generic name

since users just copy and paste and the class name is never changed
Merge pull request #10094 from neerajdotname/fix2

Collection of small fixes. Check individual commits for background.