வார்ப்புரு:Pie chart
&lt;includeonly&gt;&lt;div class=&quot;thumb t{{{thumb|right}}}&quot;&gt;&lt;div class=&quot;thumbinner&quot; style=&quot;width:202px&quot;&gt;
 &lt;!-- Graph --&gt;
 &lt;div style=&quot;background-color:white;margin:auto;position:relative;width:200px;height:200px;overflow:hidden&quot;&gt;
 {{#if:{{{value10|}}}|{{Pie chart/slice|{{{color10|sienna}}}|{{#expr:
 {{{value1}}}+{{{value2}}}+{{{value3}}}+{{{value4}}}+{{{value5}}}+{{{value6}}}+{{{value7}}}+{{{value8}}}+{{{value9}}}+{{{value10}}}
 }}}}}}
 {{#if:{{{value9|}}}|{{Pie chart/slice|{{{color9|purple}}}|{{#expr:
 {{{value1}}}+{{{value2}}}+{{{value3}}}+{{{value4}}}+{{{value5}}}+{{{value6}}}+{{{value7}}}+{{{value8}}}+{{{value9}}}
 }}}}}}
 {{#if:{{{value8|}}}|{{Pie chart/slice|{{{color8|orange}}}|{{#expr:
 {{{value1}}}+{{{value2}}}+{{{value3}}}+{{{value4}}}+{{{value5}}}+{{{value6}}}+{{{value7}}}+{{{value8}}}
 }}}}}}
 {{#if:{{{value7|}}}|{{Pie chart/slice|{{{color7|brown}}}|{{#expr:
 {{{value1}}}+{{{value2}}}+{{{value3}}}+{{{value4}}}+{{{value5}}}+{{{value6}}}+{{{value7}}}
 }}}}}}
 {{#if:{{{value6|}}}|{{Pie chart/slice|{{{color6|aqua}}}|{{#expr:
 {{{value1}}}+{{{value2}}}+{{{value3}}}+{{{value4}}}+{{{value5}}}+{{{value6}}}
 }}}}}}
 {{#if:{{{value5|}}}|{{Pie chart/slice|{{{color5|fuchsia}}}|{{#expr:
 {{{value1}}}+{{{value2}}}+{{{value3}}}+{{{value4}}}+{{{value5}}}
 }}}}}}
 {{#if:{{{value4|}}}|{{Pie chart/slice|{{{color4|yellow}}}|{{#expr:
 {{{value1}}}+{{{value2}}}+{{{value3}}}+{{{value4}}}
 }}}}}}
 {{#if:{{{value3|}}}|{{Pie chart/slice|{{{color3|blue}}}|{{#expr:
 {{{value1}}}+{{{value2}}}+{{{value3}}}
 }}}}}}
 {{#if:{{{value2|}}}|{{Pie chart/slice|{{{color2|green}}}|{{#expr:
 {{{value1}}}+{{{value2}}}
 }}}}}}
 {{#if:{{{value1|}}}|{{Pie chart/slice|{{{color1|red}}}|
 {{{value1}}}
 }}}}
 &lt;div style=&quot;position:absolute;left:0;top:0&quot;&gt;[[File:Circle frame.svg|200px|link=]]&lt;/div&gt;
 &lt;/div&gt;
 &lt;!-- Legend --&gt;
 &lt;div class=&quot;thumbcaption&quot;&gt;
 {{{caption|}}}
 {{#if:{{{label1|}}}|{{legend|{{{color1|red}}}|{{{label1}}} ({{{value1}}}%)}}
 }}{{#if:{{{label2|}}}|{{legend|{{{color2|green}}}|{{{label2}}} ({{{value2}}}%)}}
 }}{{#if:{{{label3|}}}|{{legend|{{{color3|blue}}}|{{{label3}}} ({{{value3}}}%)}}
 }}{{#if:{{{label4|}}}|{{legend|{{{color4|yellow}}}|{{{label4}}} ({{{value4}}}%)}}
 }}{{#if:{{{label5|}}}|{{legend|{{{color5|fuchsia}}}|{{{label5}}} ({{{value5}}}%)}}
 }}{{#if:{{{label6|}}}|{{legend|{{{color6|aqua}}}|{{{label6}}} ({{{value6}}}%)}}
 }}{{#if:{{{label7|}}}|{{legend|{{{color7|&lt;!-- brown --&gt; #a52a2a}}}|{{{label7}}} ({{{value7}}}%)}}
 }}{{#if:{{{label8|}}}|{{legend|{{{color8|&lt;!-- orange --&gt; #ffa500}}}|{{{label8}}} ({{{value8}}}%)}}
 }}{{#if:{{{label9|}}}|{{legend|{{{color9|purple}}}|{{{label9}}} ({{{value9}}}%)}}
 }}{{#if:{{{label10|}}}|{{legend|{{{color10|sienna}}}|{{{label10}}} ({{{value10}}}%)}}
 }}{{#if:{{{other|}}}|{{legend|white|ஏனைய ({{#expr:100-{{{value1|0}}}-{{{value2|0}}}-{{{value3|0}}}-{{{value4|0}}}-{{{value5|0}}}-{{{value6|0}}}-{{{value7|0}}}-{{{value8|0}}}-{{{value9|0}}}}}%)}}}}
 &lt;/div&gt;
 &lt;/div&gt;&lt;/div&gt;&lt;/includeonly&gt;&lt;noinclude&gt;
 
 {{documentation}}
 &lt;!-- Add categories and interwikis to the /doc subpage, not here!  --&gt;