Ad placeholder

Help:Using templates: Difference between revisions

Jump to navigation Jump to search
No change in size ,  27 December 2023
m
→‎Adding templates to pages: Remove possibly-confusing and definitely inconsistent parentheses.
No edit summary
m (→‎Adding templates to pages: Remove possibly-confusing and definitely inconsistent parentheses.)
Line 13: Line 13:


=== Via the source editor ===
=== Via the source editor ===
Templates are added by using double brackets ({{code|<nowiki>{{ ... }}</nowiki>}}. For example, the template {{code|foo}} is added by typing ({{code|<nowiki>foo</nowiki>}}.
Templates are added by using double brackets {{code|<nowiki>{{ ... }}</nowiki>}}. For example, the template {{code|foo}} is added by typing {{code|<nowiki>{{foo}}</nowiki>}}.


A template's parameters are specified through the use of pipes {{code|(<nowiki>|</nowiki>)}}.
A template's parameters are specified through the use of pipes {{code|<nowiki>|</nowiki>}}.


* Template with one parameter:
* Template with one parameter:
168
edits

Navigation menu