Adding an example of Pseudo Dynamic Templating

Adding a method that shows off how to do dynamic templating with components since dynamic templating seems to be a hot topic lately.