Difference between revisions of "PieChartSegment"
From Sega Retro
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:angle|{{{angle|}}}}} | <includeonly>{{#vardefine:angle|{{{angle|}}}}} | ||
− | #{{{colour}}} {{#var:totalAngles}}deg {{#var:angle}}deg,{{#vardefine:totalAngles|{{#expr:{{#var:totalAngles}}+{{#var:angle}}}}}} | + | #{{{colour}}} {{#var:totalAngles}}deg {{#expr:{{#var:totalAngles}}+{{#var:angle}}}}deg,{{#vardefine:totalAngles|{{#expr:{{#var:totalAngles}}+{{#var:angle}}}}}} |
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{#vardefine:totalAngles|0}} | {{#vardefine:totalAngles|0}} | ||
Line 11: | Line 11: | ||
| angle=45 | | angle=45 | ||
| colour=FF00FF | | colour=FF00FF | ||
+ | }} | ||
+ | {{PieChartSegment | ||
+ | | angle=90 | ||
+ | | colour=FFFF00 | ||
+ | }} | ||
+ | {{PieChartSegment | ||
+ | | angle=70 | ||
+ | | colour=FF0000 | ||
+ | }} | ||
+ | {{PieChartSegment | ||
+ | | angle=110 | ||
+ | | colour=00FF00 | ||
}} | }} | ||
}} | }} | ||
− | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 04:37, 10 March 2022