Template:Stacked bar: Difference between revisions
(force rounding down text size to nearest 1/10, so that it's always as big or smaller than the associated color bar, to avoid text wrapping) |
Vivaporius (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 14:24, 28 May 2017
Usage[edit]
{{Stacked bar |A1=833|T1=Video games |A2=33|T2=Series |A3=94|T3=Characters |A4=99|T4=Development |A5=71|T5=Music |A6=29|T6=Media |A7=36|T7=Etc |Total=1195}}
Makes a horizontal stacked chart of up to 12 counts (plus a gray bar if the total is greater than the sum of the 12). If no total is supplied, defaults to 100 (for percentages). Uses nice rainbow of colors that don't correspond to reserved article class or importance colors.
Article counts may be automatically calculated with the {{PAGESINCATEGORY}}
magic word, e.g. {{PAGESINCATEGORY:FA-Class Square Enix articles|R}}
Examples[edit]
- Video game good articles by arbitrary category
Video games
Series
Characters
Development
Music
Media
Etc
|
- Number of video game articles in the 70s and earlier by year
<1970s
71
72
73
74
1975
1976
1977
1978
1979
|
See also[edit]
- {{Progression rainbow}}, which has no option for captions and always uses article class colors