- renames if to ifView - adds map and if that immediately take a sub template render function rather than having to call createTemplate