Template:WikiProject Templates/doc

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Usage[edit]

Place this on the talk page of relevant Wikipedia, Help or Category pages, but generally not on the talk pages of templates:

{{WikiProject Templates}}

Optional parameters[edit]

  • listas – This parameter, which is the equivalent of the DEFAULTSORT sortkey that should be placed on all biographical articles, is a sortkey for the article talk page (e.g. for John Doe, use |listas=Doe, John so that the talk page will show up in the D's and not the J's of the various assessment and administrative categories). This is important because it is one source used by those who set DEFAULTSORT on the article; consider also setting the DEFAULTSORT for the article when setting this parameter. For more information about this, please see Wikipedia:Categorization of people#Ordering names in a category.
    It is not required if another WikiProject template on the same page has its own |listas= set, since it not only affects categories used by the banner in which it is set, but it also affects the sortkey of all other banners and templates.
  • small – set |small=yes to display a small version of the template aligned along the right side of the page (as opposed to at the top). This parameter does not work as expected if the banner template is enclosed in {{WikiProject banner shell}} or any of its redirects.
  • template_for_template_maintenance – set |template_for_template_maintenance=yes if the banner is being used on the talk page of one of the templates used for template maintenance, such as Template talk:Tfm. If the banner is used in Template talk: space without this parameter, the page will be placed in Category:Pages with templates in the wrong namespace.
  • category – set |category=no if, and only if, a banner is being used for demonstration or testing purposes, to prevent unnecessary or undesirable categorization. Otherwise, omit this parameter.
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for WikiProject Templates

Banner for WikiProject Templates.

Template parameters

Parameter Description Type Status
small

Display a smaller banner.

Default
empty
Example
empty
Auto value
empty
String optional
category

{{WPBannerMeta}} gobbledygook

Default
¬
Example
empty
Auto value
empty
String optional
listas

{{WPBannerMeta}} gobbledygook

Default
empty
Example
empty
Auto value
empty
String optional
template_for_template_maintenance

Is this a template related to template maintenance?

Default
empty
Example
empty
Auto value
empty
String optional