en.m.wikipedia.org
Template:Talk header
Template documentation​[​view​] [edit] [history] [purge]
This template is used on approximately 593,000 pages, or roughly 1% of all pages.
To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.
This template should not be substituted.
This template should be used only when a talk page requires it. There is no need to add this template to every talk page. Do not create a talk page that contains only this template.
This template uses TemplateStyles:
{{tph}}
This template is a signpost. It may be used on talk pages to attract commentary from inexperienced editors, or where there are high levels of debate from everyone. It provides:
  • A short introduction and appropriate links for newcomers
  • A reminder of policy for experienced Wikipedians
  • A list of links to the current talk page's archives
  • An optional archive search box
Usage
Basic
{{Talk header}}
To add this template to a talk page, just open an edit of the talk page, and put {{Talk header}} at the top of the page.
This template should be placed only where it's needed. Don't visit talk pages just to add this template, and don't place it on the talk pages of new articles. Talk pages that are frequently misused, that attract frequent or perpetual debate, articles often subject to controversy, and highly-visible or popular topics may be appropriate for this template.
By convention, this template goes at the very top of the talk page, above WikiProject templates and other talk-page banners. However, this is not an absolute rule, and editors should use common sense when deciding its placement. See also: WP:Talk page layout § Lead (bannerspace).
In accordance with talk page guidelines, this template should not be added to otherwise empty talk pages. That changes the "discussion" tab at the top of the page from a "redlink" into a "bluelink", which may mislead people into thinking there is discussion.
For more information on this topic, see the talk page for this template, including the talk archives and the TfD logs.
Parameters
Full syntax
Vertical
{{talk header | bottom= | disclaimer= | custom_header= | wp= | display_title= | arpol= | noarchive= | search= | hide_find_sources= | search_term= | shortcut1 | shortcut2 | shortcut3 | shortcut4 | shortcut5 }}
Horizontal
{{talk header |bottom= |disclaimer= |custom_header= |wp= |display_title= |arpol= |noarchive= |search= |hide_find_sources= |search_term= |shortcut1 |shortcut2 |shortcut3 |shortcut4 |shortcut5 }}
Notes
  • Up to five shortcuts can be added to the template, as unnamed parameters, or as named ones (any of |1=, |sc=, |sc1=, |shortcut= or |shortcut1=, then |2=, |sc2= or |shortcut2=, etc., will work). For example,
    {{Talk header​|WP:SHOR|WP:TCUT}}
    . They will display similar to the template, but within the Talk header message box.
  • For use on WikiProject talk pages, the parameter |wp=yes can be included to add "and anything related to its purposes and tasks." to the top line of the banner.
  • When used on a talk page that has archives, links to those archives and a search box will be displayed automatically within this template. To switch the archive links off, use the parameter |noarchive=yes. For example:
    {{Talk header​|noarchive=yes}}
    . For automatic archive links to be displayed, archives must be named in the standard way. A link to the archive index is also displayed, if it is named "/Archive index". If no archives exist for the current talk page, or if archives exist but possess non-standard names, no archive links will be displayed.
  • To override the default behaviour for the search box appearance, use |search=no. The default is yes, when archive subpages exist.
  • On user talk pages, |disclaimer=yes adds an additional banner which identifies the page as being originally from Wikipedia (and modifies the width to suit), matching the style of
    .
  • "Article policies" can be added to talk headers in non-article namespaces by adding |arpol=yes. (See below in #Appearance variations for an example)
  • To add additional instructions at the top to "please place new discussions at the bottom of the talk page", use |bottom=yes.
  • To hide "Find sources" on article talk pages, use |hide_find_sources=yes
  • To change the search term from the page name, use
    |search_term=new search term
  • To display a custom page title, use
    |display_title=custom page title
  • To replace the entire header with customized text, use
    |custom_header=​Custom header text goes here
Hiding the template
If you would prefer not to see this template on any talk page, you can hide it from your view. Note that this will hide page archive links and the archive search box as well if they are configured to be shown through this template. You'll need to have a named account to do this.
  1. Edit your user style page at Special:Mypage/common.css​.
  2. Add a line: #talkheader {display:none;}
  3. Save the change.
  4. Bypass your cache.
Appearance variations
This template appears differently in different namespaces. In particular, in the article namespace, there is a box of "Article policies", which does not appear when this template is used in other namespaces. In non-article namespaces, this additional box can be added via the |arpol=yes parameter. For example:
{{talk header |bottom=yes |arpol=yes |noarchive=yes |search=no |User:$1 |User:$2 }}
See also
The above documentation is transcluded from Template:Talk header/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Please add categories to the /doc subpage. Subpages of this template.
Last edited on 3 June 2021, at 21:21
Content is available under CC BY-SA 3.0 unless otherwise noted.
Privacy policy
Terms of Use
Desktop
HomeRandomNearbyLog inSettingsDonateAbout WikipediaDisclaimers
LanguageWatchEdit