[docs] Added 'How to extend templates' guide