Template Library
From Square Root
Templates are like functions for document formatting. To use a template, simply import it using {{Template:NameOfTemplate}}. That string will show up in the editing text and when the page is rendered, the template will be imported. Using {{subst:NameOfTemplate}} will import the template and directly put the text in the body of the wiki page you are editing. The next time you edit the page, the text from the template will be there. These are called Boilerplate Templates and they're useful for report or proposal templates where you want to define a specific structure but don't know what the content will say.
You can read more about templates on the MediaWiki and Wikipedia websites.
