Difference between revisions of "Templates - Mediawiki"

From Help Wiki
m
Line 1: Line 1:
 +
{{TwoColumn|lead=
 
'''Templates''' are segments of Wiki markup that are meant to be copied automatically ("transcluded") into a page.
 
'''Templates''' are segments of Wiki markup that are meant to be copied automatically ("transcluded") into a page.
 
You add them by putting the template's name in <nowiki>{{double braces}}</nowiki>.
 
You add them by putting the template's name in <nowiki>{{double braces}}</nowiki>.
 
+
|content=
 
Some templates take ''parameters'', as well, which you separate with the pipe character.
 
Some templates take ''parameters'', as well, which you separate with the pipe character.
  
Line 9: Line 10:
 
* http://meta.wikimedia.org/wiki/Help:Template
 
* http://meta.wikimedia.org/wiki/Help:Template
  
 
+
|sidebar=
 
{{Mediawiki Help}}
 
{{Mediawiki Help}}
 +
{{GetHelp}}
 +
}}
  
 
  [[category:Mediawiki]]
 
  [[category:Mediawiki]]

Revision as of 15:30, 15 November 2016

Templates are segments of Wiki markup that are meant to be copied automatically ("transcluded") into a page. You add them by putting the template's name in {{double braces}}.

Some templates take parameters, as well, which you separate with the pipe character.


Source: http://en.wikipedia.org/wiki/Help:Wikitext_examples

See Also