Template:PieChart: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<div style="width: {{{12|200px}}}; height: {{{12|200px}}}; border-radius: 50%; background-color:gray; background:repeating-conic-gradient( from 0deg, {{{6|#ff264a}}} 0deg calc(3.6deg * {{{1|15}}}), {{{7|#feec1e}}} calc(3.6deg * {{{1|15}}}) calc(3.6deg * {{#expr: {{{1|15}}} + {{{2|15}}} }}), {{{8|#12CBC4}}} calc(3.6deg * {{#expr: {{{1|15}}} + {{{2|15}}} }}) calc(3.6deg * {{#expr: {{{1|15}}} + {{{2|15}}} + {{{3|15}}} }}), {{{9|lime}}} calc(3.6deg * {{#expr:...") |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="width: {{{12|200px}}}; | <div style="width: {{{12|200px}}}; margin: {{{13|0 auto}}}; | ||
height: {{{12|200px}}}; | |||
border-radius: 50%; | |||
background-color: gray; | |||
background: repeating-conic-gradient( | |||
from 0deg, | |||
{{{6|#ff264a}}} 0deg calc(3.6deg * {{{1|15}}}), | |||
{{{7|#feec1e}}} calc(3.6deg * {{{1|15}}}) calc(3.6deg * {{#expr: {{{1|15}}} + {{{2|15}}} }}), | |||
{{{8|#12CBC4}}} calc(3.6deg * {{#expr: {{{1|15}}} + {{{2|15}}} }}) calc(3.6deg * {{#expr: {{{1|15}}} + {{{2|15}}} + {{{3|15}}} }}), | |||
{{{9|lime}}} calc(3.6deg * {{#expr: {{{1|15}}} + {{{2|15}}} + {{{3|15}}} }}) calc(3.6deg * {{#expr: {{{1|15}}} + {{{2|15}}} + {{{3|15}}} + {{{4|15}}} }}), | |||
{{{10|pink}}} calc(3.6deg * {{#expr: {{{1|15}}} + {{{2|15}}} + {{{3|15}}} + {{{4|15}}} }}) calc(3.6deg * {{#expr: {{{1|15}}} + {{{2|15}}} + {{{3|15}}} + {{{4|15}}} + {{{5|15}}} }}), | |||
{{{11|orange}}} calc(3.6deg * {{#expr: {{{1|15}}} + {{{2|15}}} + {{{3|15}}} + {{{4|15}}} + {{{5|15}}} }}) calc(3.6deg * 100) | |||
);"> | |||
</div><noinclude> | |||
<br> | <br> | ||
<pre>{{PieChart|16|17|17|17|16}}</pre> | <pre>{{PieChart|16|17|17|17|16}}</pre> | ||
{{PieChart|16|17|17|17|16}} | {{PieChart|16|17|17|17|16}} | ||
</noinclude> | </noinclude> |
Latest revision as of 12:38, 8 September 2023
{{PieChart|16|17|17|17|16}}