Help:Templates
| ||
| ||
| ||
|
Templates are a modern convienience that are used widely across this wiki. Every template page has the prefix "Template:" so that you can easily identify them.
Usage
To call a template, you use the following
{{templatename}}
Templates can be as simple as this, but they can also be quite complicated, allowing numerous sections to be defined. It may look something like this
{{template|name=Fred|age=542|numberofcars=Lots}
or it may have been organised so that it's easier on the eyes, like this
{{template
|name=Fred
|age=542
|numberofcars=Lots
}}
Each section may automatically fill in part of a table, sentence... you name it. Often the areas won't be labelled to keep it simple
{{template|Fred|542|Lots}
though obviously you may have difficulty understanding this.
Templates can contain pretty much anything a normal Wiki page can contain. The {{Help}} template on the top right of this page will automatically add this article to the Help Category for example.
You do not need the "Template:" prefix to call a template however - the two sets of curly brackets do that for you.
Creation
Creating a template is somewhat confusing at first, and as they are often tables, may require a bit of HTML knowledge as well.
It's all triple curly brackets... I can't be bothered to explain it, someone else should instead.
Types
There are several types of template as you could probably guess. MFGG currently has groups for
Some special ones have been covered in the rest of this guide.