In my sample project, the template is the Base class, and any page that inherits it will derive all of its' methods and properties.
Perhaps you would feel more comfortable creating a User Control (Composite), it is easier to start with. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcompositecontrolsample.asp