Template:Assessment Class Summary: Difference between revisions
Appearance
Content deleted Content added
Trialpears (talk | contribs) remove book |
RogueScholar (talk | contribs) Add logic to conditionally display value for A-Class articles depending on the existence of classification category, update to CSS3 declarations and unify separate tables for more cohesive appearance Tags: Reverted 2017 wikitext editor |
||
Line 1: | Line 1: | ||
<includeonly>An article's quality assessment is generated from the '''''class''''' parameter in the {{ |
<includeonly>An article's quality assessment is generated from the '''''class''''' parameter in the {{Template link|{{{banner|PROJECT_BANNER}}}}} project banner on its talk page: |
||
{{Center|'''<nowiki>{{</nowiki>{{{banner|PROJECT_BANNER}}}<nowiki>|class=???</nowiki>{{#if:{{{extraparam|}}}|{{!}}{{{extraparam}}}}}<nowiki>}}</nowiki>'''}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
{| style="background:transparent" |
|||
⚫ | |||
⚫ | |||
! <!----> |
! <!----> |
||
⚫ | |||
⚫ | |||
|- |
|- |
||
| '''FA''' (for [[Wikipedia:Featured articles|featured articles]] ''only''; adds articles to [[:Category:FA-Class {{{topic|}}} articles]]) |
| '''FA''' (for [[Wikipedia:Featured articles|featured articles]] ''only''; adds articles to [[:Category:FA-Class {{{topic|}}} articles]]) |
||
| {{ |
| {{Class|FA|category={{{topic|}}} articles}} |
||
⚫ | |||
|- |
|||
{{!}}- |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}}- |
|||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}}- |
|||
⚫ | |||
⚫ | |||
|- |
|- |
||
| '''GA''' (for [[Wikipedia:Good articles|good articles]] ''only''; adds articles to [[:Category:GA-Class {{{topic|}}} articles]]) |
| '''GA''' (for [[Wikipedia:Good articles|good articles]] ''only''; adds articles to [[:Category:GA-Class {{{topic|}}} articles]]) |
||
| {{ |
| {{Class|GA|category={{{topic|}}} articles}} |
||
|- |
|- |
||
| '''B''' (adds articles to [[:Category:B-Class {{{topic|}}} articles]]) |
| '''B''' (adds articles to [[:Category:B-Class {{{topic|}}} articles]]) |
||
| {{ |
| {{Class|B|category={{{topic|}}} articles}} |
||
|- |
|- |
||
| '''C''' (adds articles to [[:Category:C-Class {{{topic|}}} articles]]) |
| '''C''' (adds articles to [[:Category:C-Class {{{topic|}}} articles]]) |
||
| {{ |
| {{Class|C|category={{{topic|}}} articles}} |
||
|- |
|- |
||
| '''Start''' (adds articles to [[:Category:Start-Class {{{topic|}}} articles]]) |
| '''Start''' (adds articles to [[:Category:Start-Class {{{topic|}}} articles]]) |
||
| {{ |
| {{Class|Start|category={{{topic|}}} articles}} |
||
|- |
|- |
||
| '''Stub''' (adds articles to [[:Category:Stub-Class {{{topic|}}} articles]]) |
| '''Stub''' (adds articles to [[:Category:Stub-Class {{{topic|}}} articles]]) |
||
| {{ |
| {{Class|Stub|category={{{topic|}}} articles}} |
||
|- |
|||
⚫ | |||
⚫ | |||
⚫ | |||
|- |
|||
{{#ifexist:Category:List-Class {{{topic|}}} articles| |
{{#ifexist:Category:List-Class {{{topic|}}} articles| |
||
{{!}}- |
|||
{{!}} '''List''' (adds articles to [[:Category:List-Class {{{topic|}}} articles]]) |
{{!}} '''List''' (adds articles to [[:Category:List-Class {{{topic|}}} articles]]) |
||
{{!}} {{ |
{{!}} {{Class|List|category={{{topic|}}} articles}}}} |
||
|- |
|||
⚫ | |||
⚫ | |||
⚫ | |||
|- |
|||
{{#ifexist:Category:Current-Class {{{topic|}}} articles| |
{{#ifexist:Category:Current-Class {{{topic|}}} articles| |
||
{{!}}- |
|||
{{!}} '''Current''' (for articles about current events; adds articles to [[:Category:Current-Class {{{topic|}}} articles]]) |
{{!}} '''Current''' (for articles about current events; adds articles to [[:Category:Current-Class {{{topic|}}} articles]]) |
||
{{!}} {{ |
{{!}} {{Class|Current|category={{{topic|}}} articles}}}} |
||
|- |
|||
{{#ifexist:Category:Future-Class {{{topic|}}} articles| |
{{#ifexist:Category:Future-Class {{{topic|}}} articles| |
||
{{!}}- |
|||
{{!}} '''Future''' (for articles about future events; adds articles to [[:Category:Future-Class {{{topic|}}} articles]]) |
{{!}} '''Future''' (for articles about future events; adds articles to [[:Category:Future-Class {{{topic|}}} articles]]) |
||
{{!}} {{ |
{{!}} {{Class|Future|category={{{topic|}}} articles}}}} |
||
{{#ifexist:Category:SIA-Class {{{topic|}}} articles| |
|||
|- |
|||
{{!}}- |
|||
|} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
! width="100%" | <!----> |
|||
! <!----> |
|||
|- |
|- |
||
⚫ | |||
{{#ifexist:Category:Category-Class {{{topic|}}} articles| |
{{#ifexist:Category:Category-Class {{{topic|}}} articles| |
||
{{!}}- |
|||
{{!}} '''Category''' (for [[Wikipedia:Categorization|categories]]; adds pages to [[:Category:Category-Class {{{topic|}}} articles]]) |
{{!}} '''Category''' (for [[Wikipedia:Categorization|categories]]; adds pages to [[:Category:Category-Class {{{topic|}}} articles]]) |
||
{{!}} {{ |
{{!}} {{Class|Category|category={{{topic|}}} articles}}}} |
||
|- |
|||
{{#ifexist:Category:Disambig-Class {{{topic|}}} articles| |
{{#ifexist:Category:Disambig-Class {{{topic|}}} articles| |
||
{{!}}- |
|||
{{!}} '''Disambig''' (for [[Wikipedia:Manual of Style/Disambiguation pages|disambiguation pages]]; adds pages to [[:Category:Disambig-Class {{{topic|}}} articles]]) |
{{!}} '''Disambig''' (for [[Wikipedia:Manual of Style/Disambiguation pages|disambiguation pages]]; adds pages to [[:Category:Disambig-Class {{{topic|}}} articles]]) |
||
{{!}} {{ |
{{!}} {{Class|Disambig|category={{{topic|}}} articles}}}} |
||
|- |
|||
{{#ifexist:Category:Draft-Class {{{topic|}}} articles| |
{{#ifexist:Category:Draft-Class {{{topic|}}} articles| |
||
{{!}}- |
|||
{{!}} '''Draft''' (for [[Wikipedia:Drafts|drafts]]; adds pages to [[:Category:Draft-Class {{{topic|}}} articles]]) |
{{!}} '''Draft''' (for [[Wikipedia:Drafts|drafts]]; adds pages to [[:Category:Draft-Class {{{topic|}}} articles]]) |
||
{{!}} {{ |
{{!}} {{Class|Draft|category={{{topic|}}} articles}}}} |
||
|- |
|||
⚫ | |||
⚫ | |||
⚫ | |||
|- |
|||
{{#ifexist:Category:File-Class {{{topic|}}} articles| |
{{#ifexist:Category:File-Class {{{topic|}}} articles| |
||
{{!}}- |
|||
{{!}} '''File''' (for [[Help:Files|files]] and [[Wikipedia:TimedText|timed text]]; adds pages to [[:Category:File-Class {{{topic|}}} articles]]) |
{{!}} '''File''' (for [[Help:Files|files]] and [[Wikipedia:TimedText|timed text]]; adds pages to [[:Category:File-Class {{{topic|}}} articles]]) |
||
{{!}} {{ |
{{!}} {{Class|File|category={{{topic|}}} articles}}}} |
||
|- |
|||
{{#ifexist:Category:Image-Class {{{topic|}}} articles| |
{{#ifexist:Category:Image-Class {{{topic|}}} articles| |
||
{{!}}- |
|||
{{!}} '''Image''' (for images; adds pages to [[:Category:Image-Class {{{topic|}}} articles]]) |
{{!}} '''Image''' (for images; adds pages to [[:Category:Image-Class {{{topic|}}} articles]]) |
||
{{!}} {{ |
{{!}} {{Class|Image|category={{{topic|}}} articles}}}} |
||
|- |
|||
{{#ifexist:Category:Merge-Class {{{topic|}}} articles| |
{{#ifexist:Category:Merge-Class {{{topic|}}} articles| |
||
{{!}}- |
|||
{{!}} '''Merge''' (for redirects of [[Wikipedia:Merging|merged]] articles; adds pages to [[:Category:Merge-Class {{{topic|}}} articles]]) |
{{!}} '''Merge''' (for redirects of [[Wikipedia:Merging|merged]] articles; adds pages to [[:Category:Merge-Class {{{topic|}}} articles]]) |
||
{{!}} {{ |
{{!}} {{Class|Merge|category={{{topic|}}} articles}}}} |
||
|- |
|||
{{#ifexist:Category:Needed-Class {{{topic|}}} articles| |
{{#ifexist:Category:Needed-Class {{{topic|}}} articles| |
||
{{!}}- |
|||
{{!}} '''Needed''' (for articles that do not yet exist, but have been identified as subjects that should be covered; adds pages to [[:Category:Needed-Class {{{topic|}}} articles]]) |
{{!}} '''Needed''' (for articles that do not yet exist, but have been identified as subjects that should be covered; adds pages to [[:Category:Needed-Class {{{topic|}}} articles]]) |
||
{{!}} {{ |
{{!}} {{Class|Needed|category={{{topic|}}} articles}}}} |
||
|- |
|||
{{#ifexist:Category:Portal-Class {{{topic|}}} articles| |
{{#ifexist:Category:Portal-Class {{{topic|}}} articles| |
||
{{!}}- |
|||
{{!}} '''Portal''' (for [[Wikipedia:Portal|portal]] pages; adds pages to [[:Category:Portal-Class {{{topic|}}} articles]]) |
{{!}} '''Portal''' (for [[Wikipedia:Portal|portal]] pages; adds pages to [[:Category:Portal-Class {{{topic|}}} articles]]) |
||
{{!}} {{ |
{{!}} {{Class|Portal|category={{{topic|}}} articles}}}} |
||
|- |
|||
{{#ifexist:Category:Project-Class {{{topic|}}} articles| |
{{#ifexist:Category:Project-Class {{{topic|}}} articles| |
||
{{!}}- |
|||
{{!}} '''Project''' (for [[Wikipedia:WikiProject|project]] pages; adds pages to [[:Category:Project-Class {{{topic|}}} articles]]) |
{{!}} '''Project''' (for [[Wikipedia:WikiProject|project]] pages; adds pages to [[:Category:Project-Class {{{topic|}}} articles]]) |
||
{{!}} {{ |
{{!}} {{Class|Project|category={{{topic|}}} articles}}}} |
||
|- |
|||
{{#ifexist:Category:Redirect-Class {{{topic|}}} articles| |
{{#ifexist:Category:Redirect-Class {{{topic|}}} articles| |
||
{{!}}- |
|||
{{!}} '''Redirect''' (for [[Wikipedia:Redirect|redirect pages]]; adds pages to [[:Category:Redirect-Class {{{topic|}}} articles]]) |
{{!}} '''Redirect''' (for [[Wikipedia:Redirect|redirect pages]]; adds pages to [[:Category:Redirect-Class {{{topic|}}} articles]]) |
||
{{!}} {{ |
{{!}} {{Class|Redirect|category={{{topic|}}} articles}}}} |
||
|- |
|||
{{#ifexist:Category:Template-Class {{{topic|}}} articles| |
{{#ifexist:Category:Template-Class {{{topic|}}} articles| |
||
{{!}}- |
|||
{{!}} '''Template''' (for [[Help:Template|templates]] and [[Wikipedia:Lua|modules]]; adds pages to [[:Category:Template-Class {{{topic|}}} articles]]) |
{{!}} '''Template''' (for [[Help:Template|templates]] and [[Wikipedia:Lua|modules]]; adds pages to [[:Category:Template-Class {{{topic|}}} articles]]) |
||
{{!}} {{ |
{{!}} {{Class|Template|category={{{topic|}}} articles}}}} |
||
|- |
|||
{{#ifexist:Category:NA-Class {{{topic|}}} articles| |
{{#ifexist:Category:NA-Class {{{topic|}}} articles| |
||
{{!}}- |
|||
{{!}} '''NA''' (for any other pages where assessment is unnecessary; adds pages to [[:Category:NA-Class {{{topic|}}} articles]]) |
{{!}} '''NA''' (for any other pages where assessment is unnecessary; adds pages to [[:Category:NA-Class {{{topic|}}} articles]]) |
||
{{!}} {{ |
{{!}} {{Class|NA|category={{{topic|}}} articles}}}} |
||
|- |
|- |
||
| '''???''' (articles for which a valid class has not yet been provided are listed in [[:Category:Unassessed {{{topic|}}} articles]]) |
| '''???''' (articles for which a valid class has not yet been provided are listed in [[:Category:Unassessed {{{topic|}}} articles]]) |
||
| {{ |
| {{Class||category={{{topic|}}} articles}} |
||
|- |
|||
|}</includeonly><noinclude> |
|}</includeonly><noinclude> |
||
{{Documentation}} |
{{Documentation}} |
Revision as of 22:11, 18 February 2022
Usage
This template will display information about quality assessments. The template is generally used for the instructions on a WikiProject's "/Assessment" page.
Full syntax
The full syntax is as follows:
{{Assessment Class Summary
|banner=
|topic=
|extraparam=
}}
Parameters
|banner=
(required) - the name of the WikiProject's project banner template, without the "Template:" prefix. This parameter is found in the banner name field. (Note: a template shortcut can also be used).
- For example:
|BANNER_NAME=Template:banner
|topic=
(required) - set so that the quality categories are: "Food-Class topic articles". This parameter can be found in one of two places. By default, the topic field would equal the project field, or if it exists, the corresponding assessment category field.
- For example:
|PROJECT=topic
or|ASSESSMENT_CAT=topic articles
|extraparam=
(optional) - extra parameters to be passed over to the WikiProject's Banner, usually the name of a task force with a yes. This parameter is found in the corresponding task force field.
- For example:
|tf 1=extraparam=yes
Example
{{Assessment Class Summary
| banner = WikiProject Military history
| topic = biography (military)
| extraparam = Biography=yes
}}
Result:
An article's quality assessment is generated from the class parameter in the {{WikiProject Military history}} project banner on its talk page:
{{WikiProject Military history|class=???|Biography=yes}}
See also
Standard class types | |||
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
{{Class|FA}} | {{Class|FL}} | {{Class|FM}} | {{Class|A}} |
![]() |
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 | |||
Future | SIA | ![]() |
|
{{Class|Future}} | {{Class|SIA}} | {{Class|AL}} | |
BL | CL | Category | |
{{Class|BL}} | {{Class|CL}} | {{Class|Category}} | |
Disambig | Draft | File | |
{{Class|Disambig}} | {{Class|Draft}} | {{Class|File}} | |
Needed | Portal | Project | Redirect |
{{Class|Needed}} | {{Class|Portal}} | {{Class|Project}} | {{Class|Redirect}} |
Template | User | ||
{{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}}
Importance
- {{Article importance}}
- {{Importance scheme}}
- {{Assessment Importance Summary}}
- {{Category importance}}
- {{Articles by Importance}}
- {{Importance}}
- {{Importance/colour}}
- {{Importance/icon}}