Template:Progression rainbow/doc

This template is used to display a progression chart for article assessments, with the colours representative of the class colours associated with each type (e.g. FA, B, Start, etc). The chart can be updated automatically or manually.

Automatic


Use the WikiProject or task force name (as used in its categories) to populate project.

Manual


Each field should be the number of articles in that category for the wikiproject.

This may be automatically calculated with the  magic word, e.g.

Adding together such categories for the total can be done with the  function call, e.g.

The bar expands to fit the full width of the page or container it is in; to adjust the width of the bar, place the template inside of a smaller div or table.

Examples

 * Raw numbers
 * produces

Note that the total is ten higher than the actual inputs; this results in a gray bar representing unassessed articles.


 * produces

This bar's inputs match the total, so there is no gray bar at the end.


 * Calculated amounts
 * produces

Note that this method could more easily be written using video game (see below) but would work if multiple projects/categories were being used.


 * Automatic values
 * produces