Jump to content

Template:WikiProject JavaScript/doc

From Wikipedia, the free encyclopedia

Full syntax

[edit]
{{WikiProject JavaScript
|category=
|class= <!-- B/C/Start/Stub/List. Only needed for articles. -->
| b1 <!--Referencing & citations--> = <yes/no>
| b2 <!--Coverage & accuracy    --> = <yes/no>
| b3 <!--Structure              --> = <yes/no>
| b4 <!--Grammar & style        --> = <yes/no>
| b5 <!--Supporting materials   --> = <yes/no>
| b6 <!--Accessibility          --> = <yes/no>
|importance= <!-- Top/High/Mid/Low. Only needed for articles. -->
|attention= 
|needs-photo=
|needs-infobox=
}}

Parameters

[edit]
  • 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.
  • class – valid values are fa, a, ga, b, c, start, stub, fl, list, na (case-insensitive). 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. B-class checklist (available only when |class=stub |class=start |class=c or |class=b):
    • b1 – Referencing and citation (see the B-class criteria for details).
    • b2 – Coverage and accuracy (see the B-class criteria for details).
    • b3 – Structure (see the B-class criteria for details).
    • b4 – Grammar and style (see the B-class criteria for details).
    • b5 – Supporting materials (see the B-class criteria for details).
    • b6 – Accessibility (see the B-class criteria for details).
    • Set these to "yes" or "y" if the article meets the criterion; "no" or "n" if it does not. If the criterion has not been checked, omit the parameter or leave it with a blank value. When |class=b is set, all six criteria need to be satisfied, otherwise the article is treated as if |class=c were set.
  • 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.
  • 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.
  • needs-photo – set |needs-photo=yes if the page needs a photograph.
  • 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.
Example
{{WikiProject JavaScript
|class=c
|b1=yes
|b2=yes
|b3=yes
|b4=no
|b5=no
|b6=no
|importance=top
|attention=yes
|needs-photo=yes
}}
Produces:
WikiProject iconJavaScript Start‑class Top‑importance
WikiProject iconThis article is within the scope of WikiProject JavaScript, a collaborative effort to improve the coverage of articles related to JavaScript, and to the development of user scripts for use on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
TopThis article has been rated as Top-importance on the importance scale.
Note icon
This article has been marked as needing immediate attention.
Note icon
This page has been marked as needing a photograph.