Template:Articles by Quality Pie Graph/doc

< Template:Articles by Quality Pie Graph
Revision as of 13:04, 23 October 2024 by Muskit Gergous (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Add categories where indicated at the bottom of this page and interwikis at Bharatdata --> {{template shortcut|AbQ Pie}} == Usage == This template will display a pie chart of your quality assessment data, that belong to a particular WikiProject. The syntax is as follows: <syntaxhighlight lang="wikitext" style="overflow:auto;"> {{Articles by Quality Pie Graph |topic= |full= |FA= |A= |GA= |B= |C= |Start= |Stub=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

This template will display a pie chart of your quality assessment data, that belong to a particular WikiProject. The syntax is as follows:

{{Articles by Quality Pie Graph
 |topic=
 |full=
 |FA=
 |A=
 |GA=
 |B=
 |C=
 |Start=
 |Stub=
 |FL=
 |List=
 |Unassessed=
 |unassessed-show=
 |width=
}}

Parameters

  • |topic= (required) – set so that the quality categories are: "Foo-Class topic articles".
  • |full= (optional) – if set to yes it will show full legend. By default, only the categories with articles show in the legend.
  • |FA=, |A=, |GA=, |B=, |C=, |Start=, |Stub=, |FL=, |List=, |Unassessed= (optional) – if set to a standard or HTML5 web color it will change the appropriate rating. By default, they are set to the standard rating colors.
  • |unassessed-show= (optional) – if set to yes it will show unassessed articles.
  • |width= – default is 300px

Examples

Basic

{{AbQ Pie|topic=Cheeses}}

will result in:

Template:AbQ Pie

Full legend

By using the |full= with yes, you can show the entire legend - even if there are no articles in the categories.

{{AbQ Pie|topic=Cheeses|full=yes}}

will result in:

Template:AbQ Pie

Unassessed articles

By using the |unassessed-show= with yes, you can visualise the unassessed articles with the other categories.

{{AbQ Pie|topic=Cheeses|unassessed-show=yes}}

will result in:

Template:AbQ Pie

Different colours

By using the |FA=, |A=, |GA=, |B=, |C=, |Start=, |Stub=, |FL=, |List= or |Unassessed= with a web color, you can change the chart color.

{{AbQ Pie|topic=Cheeses|Start=black|Stub=#FFC0CB|C=#c5405b}}

will result in:

Template:AbQ Pie

Acknowledgement

This template came from an idea first created by User:Muskit Gergous on Version 1.0 Editorial Team's statistics page.

See also

Standard class types
Featured article FA  Featured list FL  Featured media FM  A-Class article A 
{{Class|FA}} {{Class|FL}} {{Class|FM}} {{Class|A}}
 GA  B-Class article B  C-Class article C  Start-Class article Start 
{{Class|GA}} {{Class|B}} {{Class|C}} {{Class|Start}}
Stub-Class article Stub   List   NA   ??? 
{{Class|Stub}} {{Class|List}} {{Class|NA}} {{Class|Unassessed}}
Non-standard class types
Future-Class article Future  SIA-Class article SIA  A-Class list AL 
{{Class|Future}} {{Class|SIA}} {{Class|AL}}
B-Class list BL  C-Class list CL  Category page Category 
{{Class|BL}} {{Class|CL}} {{Class|Category}}
Disambiguation page Disambig   Draft   File 
{{Class|Disambig}} {{Class|Draft}} {{Class|File}}
 Needed   Portal   Project  Redirect page 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

Importance

Hybrid

Others