Template:Articles by Quality/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Articles by Quality. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on many 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
This template will display, in a horizontal table, the number of articles of each class, which belong to a particular WikiProject. The syntax is as follows:
{{Articles by Quality |topic= |project= }}
Parameters
|topic=
(required) - set to the name used in the project or task force'sCategory:topic articles by quality
|project=
(optional) - if defined, a caption is displayed below the table with the following three links:[[w:Wikipedia:WikiProject project|WikiProject project]]
,[[w::Category:topic articles by quality|articles by quality]]
, and a "Refresh" button.|custom1=
,|custom2=
(optional) - allows for addition of custom classes such as the Audio-Class, for example|custom1=Audio
|format=
(optional) - changes the way the template is formatted using one of Wikipedia's defined styles (CSS), for example|format=toc
|task_force=
(optional) - if|project=
has been set, and|task_force=yes
then the following two parameters are required:|tf_link=
- should be set to the task force's subpage name.|parent=
- should be set to the same value as|project=
. Together, these two parameters generate the first link as:[[w:Wikipedia:WikiProject parent/tf_link|topic Taskforce]]
, along with the other two links as above.|tf_name=
(optional) - if you wish to change the default spelling of "Taskforce",|tf_name=
should be set to your preferred spelling. The link will be then rendered as:[[w:Wikipedia:WikiProject parent/tf_link|topic tf_name]]
Examples
{{Articles by Quality|topic=SD|project=South Dakota}}
will result in:
A | B | C | D | E | AL | BL | CL | DL | EL | List | Future | Annex | Disambig | Draft | AM | File | Help | Module | Project | Template | Translate | NA | Redirect | Total | ??? |
0 | 1 | 24 | 68 | 4 | 0 | 0 | 0 | 0 | 0 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 3 | 0 | 0 | 0 | 106 | 0 |
- Changing class to format template layout
By using the |format=
tag, you can change the way the template is formatted using one of Wikipedia's defined styles (CSS).
{{Articles by Quality|topic=AfC|project=Articles for creation|format=toc}}
will result in:
A | B | C | D | E | AL | BL | CL | DL | EL | List | Future | Annex | Disambig | Draft | AM | File | Help | Module | Project | Template | Translate | NA | Redirect | Total | ??? |
0 | 1 | 24 | 68 | 4 | 0 | 0 | 0 | 0 | 0 | 2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 2 | 3 | 0 | 0 | 0 | 106 | 0 |
You can use any of the Wikipedia defined classes in this parameter. In this example, the switch changes the style from the default wikitable to the toc style used in the {{Cat class}} template. All formatting in the template will be changed to the defined style chosen and cannot be modified.
Taskforce example
{{Articles by Quality |project = Food and drink |topic = Cheeses |task_force = yes |tf_link = Cheeses task force |parent = Food and drink |format = toc }}
will generate:
A | B | C | D | E | AL | BL | CL | DL | EL | List | Future | Annex | Disambig | Draft | AM | File | Help | Module | Project | Template | Translate | NA | Redirect | Total | ??? |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
See also
Standard class types | ||||
---|---|---|---|---|
A | B | C | D | E |
{{Class|A}} | {{Class|B}} | {{Class|C}} | {{Class|D}} | {{Class|E}} |
AL | BL | CL | DL | EL |
{{Class|AL}} | {{Class|BL}} | {{Class|CL}} | {{Class|DL}} | {{Class|EL}} |
List | Future | NA | ??? | |
{{Class|List}} | {{Class|Future}} | {{Class|NA}} | {{Class|Unassessed}} | |
Non-standard class types | ||||
Annex | Disambig | Draft | File | Help |
{{Class|Annex}} | {{Class|Disambig}} | {{Class|Draft}} | {{Class|File}} | {{Class|Help}} |
Module | Project | Template | ||
{{Class|Module}} | {{Class|Project}} | {{Class|Template}} |
Class
- {{Category class}}
- {{Articles by Quality}}
- {{Class}}