Help:Templates: Difference between revisions

mNo edit summary
Line 1: Line 1:
A '''template''' is a page, like its title says, a page which can be included into any other page, and sometimes be customized. This page gives tips on creating and using templates.
A '''template''' is a page, like its title says, a page which can be included into any other page, and sometimes be customized. This page gives tips on creating and using templates.
== Creating templates ==
== Creating templates ==
Templates in most cases, are very easy to create. a page should have the prefix '''Template:''', but it doesn't need to be included to other pages.<br>
Templates in most cases, are very easy to create. They should have the prefix '''Template:''' (see [[Help:Namespaces]]), but it doesn't need to be included to other pages.<br>
This template below is an example. It can be included in the current page by typing {{tl|example}}.  "Example" is the name of the template, and the two curly braces are used to include it:
This template below is an example. It can be included in the current page by typing {{tl|example}}.  "Example" is the name of the template, and the two curly braces are used to include it:
{{example}}
{{example}}
28

edits