Wikipedia:Template namespace
If you wish to experiment with templates (and not have your experiments deleted before you are done with them), you may do so in the Template sandbox. You may also use the templates X1, X2, X3, X4, X5, X6, X7, X8 and X9 for experimental purposes. To include a test template, use the form {{X1}} for template X1, {{X2}} for template X2, etc.
[
History
Historically, an "msg:" prefix had to be added in front of the template name when it was used on a page. For example, {{msg:stub}} was typed instead of {{stub}}. This is no longer necessary.
In Wikipedia's first 35 months, there was no template or transclusion mechanism at all. The MediaWiki namespace was introduced with MediaWiki 1.2.6 on December 6, 2003, and was used not only for the user interface but also for creating boilerplate text messages, to be inserted in articles, using the {{msg: ...}} syntax. This function was replaced with the Template namespace during the software upgrade to MediaWiki 1.3 on May 30, 2004. As a function of the "Template namespace initialisation script", all non-system messages were moved to the new namespace. The initialisation script also replaced MediaWiki: references in articles with Template: in order to bypass the redirects created by the moves.
For a short time, Wikipedia:Articles for deletion (then known as votes for deletion or VfD) used MediaWiki: messages named in the format "MediaWiki:VfD-articlename". These were moved to the Template: space in June 2004 and were named "Template:VfD-articlename". This usage is deprecated now in favor of subpages. A (long) list of these VfD vote pages can be found in the page history of Wikipedia:VfD votes in the Template namespace.
[
Searching in the template and template talk namespaces
To search in the template or template talk namespaces only, put "template:" or "template_talk:" before the search term. For example, this URL searches for "transclude" in the template namespace while this one searches for "transclude" in the template talk namespace.
It is possible to manipulate the URL to allow searching in both the template and template talk namespaces. E.g.
Wikipedia template search for regnum searches the Template and Template talk namespaces for "regnum".
See Help:Searching for more information.
[
See also
- Help:Template for information on developing templates and syntax details
- Help:Magic words for all template modifiers
- Wikipedia:Template messages for a table of some useful templates
- Wikipedia:Conditional tables
- Wikipedia:Template standardisation
|
||||||||||||||||||||||||||||||||
For more information review our copyright contact and privacy policy.
