FAMEPedia:Tip of the day/June 26

What are templates used for?

Templates are pages that you can include on another page. They are usually used to insert boilerplate messages that need to be displayed on more than one page. Templates are quite versatile and can be used to accomplish many things. For example, some specialized uses for templates are: To include a template on a page, enclose it in double curly brackets, leaving out the prefix "Template:", like this:
 * Displaying a different page each day (like the Pic of the day, etc.)
 * Infoboxes (e.g., Template:Infobox royalty).
 * Displaying a random page (see this implemented at FAMEPedia:Featured content).
 * Navigation bars (e.g., Template:Portals browsebar).
 * Navigation boxes.
 * WikiProject task boxes.
 * Page headers, like the header at the top of the Help Desk