Help:Template documentation

Template docuemtation is used to show how a template, like an infobox, works. It also shows how to use its parameters, how to use the template itself, and examples of the template.

Adding the template
Adding documentation to templates is fairly easy. You do need to learn wikitext to do this.
 * 1) Go to a template, e.g. Template:Stub.
 * 2) Edit the page
 * 3) At the bottom of the page, add this code:
 * 4) Save the page.

If documentation already exists, you should see text on the bottom, after the word Documentation. The display should be somewhat similar to: Note: The display may vary depending on the modifications you have made on your wiki.

Creating documetation
If you have a more advanced version of the documentation template, you might see this popup when you add the documentation template without the /doc subpage: