Create template: R from subpage