Help:Templates

From SM-201
Jump to: navigation, search

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.

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.

Also see the page [ Templates ]


Chain-09.png

Jump to: Main PageMicropediaMacropediaIconsTime LineHistoryLife LessonsLinksHelp

What links hereReferences and SourceseMail The Wiki StaffContact Info
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox