FANDOM



Export this template, then import, to install it.
Use edit summary: Copied from [[w:c:templates:Template:Loafchart2]] to properly attribute this template's editors.
This template is probably not already on your wiki.
Template documentation
Note: the template above may sometimes be partially or fully invisible.

View or edit this documentation. (How does this work?)

Editors can experiment with this template's sandbox and test case pages.

This template creates a linear pie chart, with proportional sizes for two divisions of the line

Usage

{{ loafchart2 |Hdr1color=color |Color1=color |Option1=name |Count1=size |Percent1=%size |Hdr2color=color |Color2=color |Option2=name |Count2=size |Percent2=%size }}

Example

{{ loafchart2 | Hdr1color = lightblue | Color1= blue | Option1 = Democrat | Count1 = 90 | Percent1 = 45 | Hdr2color = pink | Color2 = red | Option2 = Republican | Count2 = 110 | Percent2 = 55 }}

Democrat
90
45%
Republican
110
55%

See also

Community content is available under CC-BY-SA unless otherwise noted.