Template:Articles by Priority/doc
From Podpedia
This is a documentation subpage for Template:Articles by Priority. It contains usage information, categories and other content that is not part of the original template page. |
Usage[edit source]
This template will display, in a horizontal table, the number of articles of each priority, which belong to a particular WikiProject. The syntax is as follows:
{{Articles by Priority |topic= |project= }}
Parameters[edit source]
|topic=
(required) - set so that the priority categories are: "Foo-priority topic articles".|project=
(optional) - if defined, a refresh button and the following caption is displayed below the table: "WikiProject project articles by priority".
Examples[edit source]
{{Articles by Priority|topic=physics|project=Physics}}
will result in:
Top | High | Mid | Low | ??? | Total |
0 | 0 | 0 | 0 | 0 | 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 Priority|topic=physics|project=Physics|format=toc}}
will result in:
Top | High | Mid | Low | ??? | Total |
0 | 0 | 0 | 0 | 0 | 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 importance}} template. All formatting in the template will be changed to the defined style chosen and cannot be modified.
See also[edit source]
Standard class types | |||
---|---|---|---|
FA | FL | FM | A |
{{class|FA}} | {{class|FL}} | {{class|FM}} | {{class|A}} |
GA | B | C | Start |
{{class|GA}} | {{class|B}} | {{class|C}} | {{class|Start}} |
Stub | List | NA | ??? |
{{class|Stub}} | {{class|List}} | {{class|NA}} | {{class|Unassessed}} |
Non-standard class types | |||
Bplus | Current | Future | SIA |
{{class|Bplus}} | {{class|Current}} | {{class|Future}} | {{class|SIA}} |
AL | BL | CL | SL |
{{class|AL}} | {{class|BL}} | {{class|CL}} | {{class|SL}} |
Book | Category | Disambig | Draft |
{{class|Book}} | {{class|Category}} | {{class|Disambig}} | {{class|Draft}} |
File | Merge | Needed | Portal |
{{class|File}} | {{class|Merge}} | {{class|Needed}} | {{class|Portal}} |
Project | Redirect | Template | User |
{{class|Project}} | {{class|Redirect}} | {{class|Template}} | {{class|User}} |
Importance types | |||
Top | High | Mid | Low |
{{importance|Top}} | {{importance|High}} | {{importance|Mid}} | {{importance|Low}} |
Bottom | NA | ??? | |
{{importance|Bottom}} | {{importance|NA}} | {{importance|Unknown}} |
- Class
- {{Article classification}}
- {{Grading scheme}}
- {{Assessment Class Summary}}
- {{Category class}}
- {{Articles by Quality}}
- {{Class}}
- {{Class/colour}}
- {{Class/icon}}
- Importance
- {{Article importance}}
- {{Importance scheme}}
- {{Assessment Importance Summary}}
- {{Category importance}} / {{Cat priority}}
- {{Articles by Importance}}
- {{Importance}}
- {{Importance/colour}}
- {{Importance/icon}}
- Hybrid
- Others
- {{Articles by Quality Pie Graph}}
- {{Articles by Importance Pie Graph}}
- {{WikiProject progression rainbow}}
- Tool to add multiple templates to quality assessment pages
{{WPBannerMeta/templatepage/qualheader |project =|topic =}}