Template:Piechart
![]() | This template uses Lua: |
![]() | This template uses TemplateStyles: |
See more examples here: Module:Piechart
Quick example with custom colors and a legend: <syntaxhighlight lang="wikitext">
- sweets: 5 (45.5%)
- sandwiches: 3 (27.3%)
- cookies: 2 (18.2%)
- drinks: 1 (9.1%)
</syntaxhighlight>
- sweets: 5 (45.5%)
- sandwiches: 3 (27.3%)
- cookies: 2 (18.2%)
- drinks: 1 (9.1%)