This is a documentation subpage for Template:WikiProject Java. It may contain usage information, categories and other content that is not part of the original template page. |
This template adds articles to Category:Java articles by importance.
Usage
editSimply add {{WikiProject Java}} to an article's talk page at or near the top (generally, below any that are more specific, and any that relate to current AfD or similar issues, and any that relate to article milestones, such as Good Article status; but above less specific ones, such as projects relating to technology, computers, etc., more generally).
{{WikiProject Java
|class =
|importance =
|computer-science =
|computer-science-importance =
|computing =
|computing-importance =
|needs-infobox =
|needs-image =
|attention =
|listas =
}}
Optional parameters
edit- attention – set
|attention=yes
if the article needs immediate attention from experienced editors. Use only if another parameter does not cover the need for attention; this should be used sparingly. It is strongly encouraged to also add a section to the talk page explaining what needs attention.- This parameter populates Category:Java articles needing attention.
- class – valid values are listed in the custom class mask. See the project's quality scale for details. Setting an explicit value of NA is rarely necessary; for this, either leave
|class=
blank or omit the parameter. - computer-science – set
|computer-science=yes
if the article is supported by WikiProject Computer science.- This parameter populates Category:WikiProject Computer science articles, and the relevant subcategory of Category:Computer science articles by quality based upon the
|class=
parameter. - computer-science-importance (only used if
|computer-science=yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject Computer science. If blank or omitted, the importance rating set by|importance=
is used.- This importance rating populates the relevant subcategory of Category:Computer science articles by importance.
- This parameter populates Category:WikiProject Computer science articles, and the relevant subcategory of Category:Computer science articles by quality based upon the
- computing – set
|computing=yes
if the article is supported by WikiProject Computing.- This parameter populates the relevant subcategory of Category:Computing articles by quality based upon the
|class=
parameter. - computing-importance (only used if
|computing=yes
is set; uses the same values as|importance=
) – Importance rating within WikiProject Computing. If blank or omitted, the importance rating set by|importance=
is used.- This importance rating populates the relevant subcategory of Category:Computing articles by importance.
- This parameter populates the relevant subcategory of Category:Computing articles by quality based upon the
- importance – valid values are: top, high, mid, low, na (case-insensitive). See the project's 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 James Gosling, use
|listas=Gosling, James
so that the talk page will show up in the G'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. - needs-image – set
|needs-image=yes
to request that an image of the subject be added to the article.- This parameter populates Category:Computing articles needing images.
- needs-infobox – set
|needs-infobox=yes
if the article needs an infobox. Remember that infoboxes are not suitable for all articles, and can overwhelm short articles.- This parameter populates Category:Java articles without infoboxes.
- auto – This parameter is for the use of bots and indicates that the article has been automatically rated:
|auto=length
– based on the length of the article|auto=inherit
– because one or more other projects use this class|auto=yes
(or|auto=stub
), in conjunction with|class=stub
– as Stub-Class because it uses a stub template- Use of the above values (or value combinations) with this parameter populates Category:Automatically assessed Java articles.
- 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.