Implemented shortcodes for templates.