Template:Pages by Priority
Appearance
| Top | High | Mid | Low | NB | ??? | Total |
| 5 | 5 | 5 | 6 | 4 | 4 | 29 |
Usage
This template will display, in a horizontal table, the number of pages of each priority, which belong to a particular WikiProject. The syntax is as follows:
{{Pages by Priority
|topic=
|project=
}}
Parameters
|topic=(required) - set so that the priority categories are: "Foo-priority topic pages".|project=(optional) - if defined, a refresh button and the following caption is displayed below the table: "WikiProject project pages by priority".
Examples
{{Pages by Priority|topic=language|project=Languages}}
will result in:
| Top | High | Mid | Low | NB | ??? | Total |
| 4 | 0 | 2 | 3,587 | 891 | 2,187 | 6,671 |
- Formatting template layout
By using the |format= tag, you can change the way the template is formatted using one of Wikibooks' defined styles (CSS).
{{Pages by Priority|topic=language|project=Languages|format=toc}}
will result in:
| Top | High | Mid | Low | NB | ??? | Total |
| 4 | 0 | 2 | 3,587 | 891 | 2,187 | 6,671 |
You can use any of the Wikibooks-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 priority}} template. All formatting in the template will be changed to the defined style chosen and cannot be modified.
Task force example
{{Pages by Priority
|project = Languages
|topic = French language
|task_force = yes
|tf_link = French language task force
|parent = Languages
|format = toc
}}
will generate:
| Top | High | Mid | Low | NB | ??? | Total |
| 0 | 3 | 0 | 184 | 68 | 0 | 255 |
See also
| Standard class types | |||
|---|---|---|---|
{{quality|FB}} |
{{quality|A}} |
{{quality|B}} |
{{quality|C}} |
{{quality|Start}} |
{{quality|Stub}} |
{{quality|NB}} |
{{quality|Unassessed}} |
| Non-standard quality types | |||
{{quality|Project}} |
{{quality|Category}} |
{{quality|Shelf}} |
{{quality|Template}} |
| Priority types | ||
|---|---|---|
| Top | High | Mid |
{{priority|Top}} |
{{priority|High}} |
{{priority|Mid}} |
| Low | NB | ??? |
{{priority|Low}} |
{{priority|NB}} |
{{priority|Unknown}} |
- Quality
- {{Quality scale}}
- {{Assessment Quality Summary}}
- {{Cat quality}}
- {{Pages by Quality}}
- {{Quality}}
- {{Quality/color}}
- {{Quality/icon}}
- Priority
- {{Priority scale}}
- {{Assessment Priority Summary}}
- {{Cat priority}}
- {{Pages by Priority}}
- {{Priority}}
- {{Priority/color}}