Help:Templates: Difference between revisions
(Created page with "The (whole) contents of one page can be placed onto another page via a process called Transclusion (comparable to calling a subroutine). If a page is specially intended for th...") |
No edit summary |
||
Line 3: | Line 3: | ||
Expansion is at page view time unless substitution is applied, in which case the expanded wikitext is saved. The wikitext for the parameter name is expanded, further see the parameter section. | Expansion is at page view time unless substitution is applied, in which case the expanded wikitext is saved. The wikitext for the parameter name is expanded, further see the parameter section. | ||
;* [[editor icons]] - for use on toolbars | |||
;* [[sa]] - See also templates | |||
;* [[help:categories]] | |||
;* [[Templates]] snippets of templates | |||
== General == | == General == | ||
Revision as of 03:32, 5 November 2019
The (whole) contents of one page can be placed onto another page via a process called Transclusion (comparable to calling a subroutine). If a page is specially intended for this purpose it is called a template.
Expansion is at page view time unless substitution is applied, in which case the expanded wikitext is saved. The wikitext for the parameter name is expanded, further see the parameter section.
- editor icons - for use on toolbars
- sa - See also templates
- help:categories
- Templates snippets of templates
General
The template namespace is the namespace with prefix "Template:" A page in this namespace is called a template. The contents of such a page (either fixed or depending on parameters and/or variables) is designed to be useful for insertion in other pages (transclusion, creating a compound document).
The syntax for insertion of the page "Template:name" is {{name}}. This is called a template tag, and comprises two instances of the "brace" at either side of the template page name, excluding the "Template:" prefix.
See also Templates
Chat rooms • What links here • Copyright info • Contact information • Category:Root