ENH: Added text wrapping support in template