Jump to content
Wikipedia The Free Encyclopedia

Template:Articles by Importance Pie Graph

From Wikipedia, the free encyclopedia


Template documentation[view] [edit] [history] [purge]

Usage

[edit ]

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

{{Articles by Importance Pie Graph
 |topic=
 |full=
 |Core=
 |Top=
 |High=
 |Mid=
 |Low=
 |bottom=
 |No=
 |NA=
 |Unknown=
}}

Parameters

[edit ]
  • |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.
  • |Core=, |Top=, |High=, |Mid=, |Low=, |Bottom=, |No=, |NA=, or |Unknown= (optional) - if set to a standard or HTML5 web color it will change the appropriate importance rating. By default, they are set to the standard importance rating colors.

Examples

[edit ]

Basic

[edit ]
{{Articles by Importance Pie Graph|topic=Cheeses}}

will result in:

Graphs are unavailable due to technical issues. Updates on reimplementing the Graph extension, which will be known as the Chart extension, can be found on Phabricator and on MediaWiki.org.


Full Legend

[edit ]

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

{{Articles by Importance Pie Graph|topic=Cheeses|full=yes}}

will result in:

Graphs are unavailable due to technical issues. Updates on reimplementing the Graph extension, which will be known as the Chart extension, can be found on Phabricator and on MediaWiki.org.


Different Colours

[edit ]

By using the |Core=, |Top=, |High=, |Mid=, |Low=, |Bottom=, |No=, or |NA= with a web color, you can change the chart color.

{{Articles by Importance Pie Graph|topic=Cheeses|Top=black|High=#FFC0CB|Mid=#c5405b}}

will result in:

Graphs are unavailable due to technical issues. Updates on reimplementing the Graph extension, which will be known as the Chart extension, can be found on Phabricator and on MediaWiki.org.


Acknowledgement

[edit ]

This template came from an idea first created by User:Kopiersperre on Version 1.0 Editorial Team's statistics page and was copied from {{Articles by Quality Pie Graph }}.

See also

[edit ]
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
Future SIA  AL
{{Class|Future}} {{Class|SIA}} {{Class|AL}}
BL CL Category
{{Class|BL}} {{Class|CL}} {{Class|Category}}
Disambig Draft File
{{Class|Disambig}} {{Class|Draft}} {{Class|File}}
Portal Project Redirect
{{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

[edit ]

Importance

[edit ]

Hybrid

[edit ]

Others

[edit ]
This box:
The above documentation is transcluded from Template:Articles by Importance Pie Graph/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.

AltStyle によって変換されたページ (->オリジナル) /