User blog comment:GonTheGod/How to CREATE templates?/@comment-3271569-20120821211551

Like:

So you can see before the parameter there is an  tag. This will seperate the parameters.
 * 1) An template always start with "Template:" When adding it into an link. So with your food example we will get this: Template:Food.
 * 2) Look like you already created it. Now let's add an link to it. We start with going to the page and view the template source:
 * 1) Adding an link to an image works just like it is on an normal page simply by adding the parameter :
 * 1) An extra option is to give it an link name, you do this by adding another parameter with the name that you want. For example
 * 2) Finaly We should have an source like this:
 * 1) Here's the result: Food_gon.png.

An note that this only an really small option what you can do with an template. More advance examples are the "I" and "N" template that use param function so it's possible to add options like we have on images.