A template is basically a series of (often used) code compiled into one thing for easy usage without the need to type it out again. For example, the Table of Contents below this article is a template.
Templates commonly used
Edit
-Infobox
-Tabber
-Follow
-Featured Article
-div
-etc
How to write a new Template
Edit
Go to create new article and write your template there. Be sure to name it Template:______(The template name).
How to understand a Template
Edit
Very complicated rules go into the making of a template. Here is an example.
{{{1}}}
White box, right? You can actually make the box display something via this code