Template:Pie/doc

With the Pie template, you can create pie graphs using CSS3 styles. This is currently not supported by Internet Explorer versions 8 and lower, and some older versions of other browsers. Because of the lack of support by those browsers, please do not use this template in mainspace.

The template does not have any security for using too little or too much space, which may cause some parts to overlap, or it may create a gap in the pie. The template is limited to 10 slices, and if there is a slice larger than 180° (50%), it must be the first slice, as the other slices do not support sizes of larger than 180°.

The template can be resized to any size by setting the  to an amount (without px, so   instead of  ). 200px is the default size.

The template does not work when there is no total amount set with the  parameter. The sizes of the slices are in the unnamed parameters. The first parameter defines the first slice's size, the second defines the second's size, etc. An example is:

this will result in: