refactor (generalizing-sample) Change of texts inside template

Example texts inside template are now generic.