title: How to create custom editor/display templates in ASP.NET MVC 3?
body: <p>I would like to make custom editor templates for different data types in ASP.NET MVC (to use with <code>Html.EditorFor()</code>), including rewriting the existing templates. The ultimate goal is to create a mini-framework where each editor supports javascript notifications about being changed, and I can show a message to the user that there are unsaved changes in the page. (Maybe there's something existing already?)</p>
  
  <p>I can find many questions pertaining to problems with such templates, but nowhere can I find a tutorial or manual on creating them. Where do they go? Is there any special syntax? How does a template get selected? What information is available in the template and how do I access it? Etc.</p>
  
  <p>So - where can I find out all about these templates?</p>