Wikipedia:Template namespace

Type of page within Wikimedia / From Wikipedia, the free encyclopedia

The Template namespace on Wikipedia is used to store templates, which contain Wiki markup intended for inclusion on multiple pages, usually via transclusion. Although the Template namespace is used for storing most templates, it is possible to transclude and substitute from other namespaces,[1] and so some template pages are placed in other namespaces, such as the User namespace.

Table info: Namespaces, Subject namespaces, Talk namespac...
Wikipedia data structure
Namespaces
Subject namespacesTalk namespaces
0 (Main/Article)Talk 1
2 UserUser talk 3
4 WikipediaWikipedia talk 5
6 FileFile talk 7
8 MediaWikiMediaWiki talk 9
10 TemplateTemplate talk 11
12 HelpHelp talk 13
14 CategoryCategory talk 15
100 PortalPortal talk 101
118 DraftDraft talk 119
710 TimedTextTimedText talk 711
828 ModuleModule talk 829
Deprecated
2300 GadgetGadget talk 2301
2302 Gadget definitionGadget definition talk 2303
Not installed
90 ThreadThread talk 91
92 SummarySummary talk 93
108 BookBook talk 109
442 CourseCourse talk 443
444 InstitutionInstitution talk 445
446 Education ProgramEducation Program talk 447
2600 Topic 2601
Virtual namespaces
-1 Special
-2 Media
Current list (API call)
Close

Templates help maintain consistent formatting and aid navigation between articles. They often include optional and/or variable elements controlled by parameters to allow for specialized use. Templates are also used to assist in a large variety of Wikipedia maintenance tasks. Each template has a matching Template talk: page where editors can discuss the design and implementation of the associated template (see Help:Using talk pages for how to participate in talk page discussions).

A template is transcluded into another page by including a template tag in that page's content. A template tag contains the template page name surrounded by double curly braces, e.g. {{Disambiguation}}. If the template's page name does not begin with a namespace and colon, it is assumed to be in the Template namespace.

Internal links to template pages may be made by using the Template: prefix, e.g. [[Template:Disambiguation]]. These links go to a page that directly contains a base template and often documentation.