Template base index