Help:Editing basics: Difference between revisions

Jump to navigation Jump to search
No change in size ,  27 December 2023
→‎Templates: Fixup / cleanup of text/code re: "template 'foo'" and remove confusing parentheses.
m (→‎Linking: Typo fix)
(→‎Templates: Fixup / cleanup of text/code re: "template 'foo'" and remove confusing parentheses.)
Line 44: Line 44:


=== Adding templates using the source editor ===
=== Adding templates using 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