Jump to content

Template:WikiProject Templates/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
more documentation for "module_for_template_maintenance"
m top: {{High-use}}
 
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{High-use}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
{{notice|image=Stop hand nuvola.svg|text=This template should '''''almost never''''' be used on the talk pages of templates or modules.}}
{{notice|image=Stop hand nuvola.svg|text=This template should '''''almost never''''' be used on the talk pages of templates or modules.}}

Latest revision as of 22:26, 26 December 2023

Usage

[edit]

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

{{WikiProject Templates}}

For templates used in maintaining or documenting other templates, use:

{{WikiProject Templates|template_for_template_maintenance=y}}

For modules used in maintaining or documenting other templates, use:

{{WikiProject Templates|module_for_template_maintenance=y}}

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.
    If the article is using {{WikiProject banner shell}} then it is preferable to add |listas= to that template instead of a project banner template. Putting the parameter on more than one template is not required.
  • template_for_template_maintenance, module_for_template_maintenance – set |template_for_template_maintenance=yes or |module_for_template_maintenance=yes if the banner is being used on the talk page of one of the templates/modules used for template maintenance, such as Template talk:Tfm or Module talk:Template test case. If the banner is used in Template talk: or Module talk: namespaces without one of these parameters, 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 for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:WikiProject Templates in articles based on its TemplateData.

TemplateData for WikiProject Templates

Banner for WikiProject Templates.

Template parameters

ParameterDescriptionTypeStatus
category

{{WPBannerMeta}} gobbledygook

Default
¬
Stringoptional
listas

{{WPBannerMeta}} gobbledygook

Stringoptional
template_for_template_maintenance

Is this a template related to template maintenance?

Stringoptional
module_for_template_maintenance

Is this a module related to template maintenance?

Stringoptional