Add page refs & costs to existing mode templates

Rename to have .xml.template extension