Template:WikiProject Law Enforcement/doc
Appearance
This is a documentation subpage for Template:WikiProject Law Enforcement. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 15,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
[edit]When you create or find a new page within the scope of WikiProject Law Enforcement please add any of the following to the top of its talk page:
{{WikiProject Law Enforcement |class= |importance= }}
{{WikiProject Law Enforcement |class= |importance= |living= |needs-image= |needs-infobox= |article-watch= |listas= }}
{{WikiProject Law Enforcement
|class =
|importance =
|living =
|needs-image =
|needs-infobox =
|article-watch =
|listas =
}}
Unused parameters may be omitted. This template automatically adds articles to Category:WikiProject Law Enforcement articles.
Optional parameters
[edit]- article-watch – set
|article-watch=yes
if the article is being watched due to vandalism, edit wars or poor wikiquette.- This parameter populates Category:Law Enforcement articles under Article Watch.
- class – valid values are listed in the custom class mask. See the quality scale for details. Setting an explicit value of NA is rarely necessary; for this, either leave
|class=
blank or omit the parameter. - importance – valid values are: top, high, mid, low, na (case-insensitive). See the importance scale for details. Setting an explicit value of NA is rarely necessary; for this, either leave
|importance=
blank or omit the parameter. - 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 Robert Peel, use
|listas=Peel, Robert
so that the talk page will show up in the P's and not the R'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. - living – set
|living=yes
if the article concerns one or more living persons. - needs-image – set
|needs-image=yes
to request that a photograph or picture be included in this article to improve its quality.- This parameter populates Category:Law enforcement articles needing images.
- needs-infobox – set
|needs-infobox=yes
if an appropriate infobox may need to be added to this article. Please refer to the list of infoboxes for further information.- This parameter populates Category:Law enforcement articles without infoboxes.
- 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.
Example
[edit]{{WPLE|class=stub|article-watch=}}
Gives:
Law Enforcement Stub‑class | ||||||||||
|
{{WPLE|class=stub|article-watch=yes}}
Gives:
Law Enforcement Stub‑class | ||||||||||||||||||||||
|