Template:WikiProject Templates/doc: Difference between revisions
Appearance
Content deleted Content added
Harryboyles (talk | contribs) removing small parameter as it is obsolete |
document new parameter "module_for_template_maintenance", see Special:Diff/1179994489; use Template:Sandbox other, as in Template:Documentation/preload |
||
Line 11: | Line 11: | ||
<nowiki>{{WikiProject Templates|template_for_template_maintenance=y}}</nowiki> |
<nowiki>{{WikiProject Templates|template_for_template_maintenance=y}}</nowiki> |
||
For modules used in maintaining or documenting other templates, use: |
|||
<nowiki>{{WikiProject Templates|module_for_template_maintenance=y}}</nowiki> |
|||
===Optional parameters=== |
===Optional parameters=== |
||
Line 40: | Line 44: | ||
"required": false, |
"required": false, |
||
"description": "Is this a template related to template maintenance?" |
"description": "Is this a template related to template maintenance?" |
||
}, |
|||
"module_for_template_maintenance": { |
|||
"label": "", |
|||
"type": "string", |
|||
"required": false, |
|||
"description": "Is this a module related to template maintenance?" |
|||
} |
} |
||
} |
} |
||
Line 45: | Line 55: | ||
</templatedata> |
</templatedata> |
||
<includeonly>{{ |
<includeonly>{{Sandbox other|| |
||
<!-- Categories go here and interwikis go in Wikidata. --> |
<!-- Categories go here and interwikis go in Wikidata. --> |
||
Revision as of 20:14, 13 October 2023
This is a documentation subpage for Template:WikiProject Templates. It may contain usage information, categories and other content that is not part of the original template page. |
This template should almost never be used on the talk pages of templates. |
Usage
Place this on the talk page of relevant Wikipedia, Help or Category pages, but generally not on the talk pages of templates:
{{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
- 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 – 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 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
category | {{WPBannerMeta}} gobbledygook
| String | optional | |
listas | {{WPBannerMeta}} gobbledygook | String | optional | |
template_for_template_maintenance | Is this a template related to template maintenance? | String | optional | |
module_for_template_maintenance | Is this a module related to template maintenance? | String | optional |