Template and router