Difference between revisions of "Help:Templates"

m
m (links to MediaWiki)
Most templates that you may need to use already exist, so let's talk about ''using them'' first.
 
Templates are enclosed by double curly braces (<code>{{</code> and <code>}}</code>). The ''template name'' comes first, followed by ''parameters'', all separated by vertical bars (<code>|</code>). It looks something like this: <code><nowiki>{{name|param1|param2|param3}}</nowiki></code>.
 
Note that some templates are entered in a single line of text like the example above. This is common for reference templates and those which don't require any parameters. However, it is not uncommon for templates to span multiple lines, for the sake of clarity. Something more like:
Editors, Keepers
4,418

edits