Difference between revisions of "PieChartSegment"

From Sega Retro

Line 1: Line 1:
 
<includeonly>{{#vardefine:angle|{{{angle|}}}}}{{#vardefine:colour|{{#if:{{{colour|}}}|{{{colour}}}|{{#sub:{{WikiColour|FG|{{#switch:{{#var:segmentCount}}
 
<includeonly>{{#vardefine:angle|{{{angle|}}}}}{{#vardefine:colour|{{#if:{{{colour|}}}|{{{colour}}}|{{#sub:{{WikiColour|FG|{{#switch:{{#var:segmentCount}}
     |0=red
+
     |0=blue
     |1=orange
+
     |1=red
     |2=yellow
+
     |2=orange
     |3=yellowgreen
+
     |3=green
     |4=green
+
     |4=purple
 
     |5=cyan
 
     |5=cyan
     |6=blue
+
     |6=yellow
     |7=purple
+
     |7=redmagenta
     |8=magenta
+
     |8=yellowgreen
     |9=redmagenta
+
     |9=magenta
 
   }}}}|0|-1}}{{#ifexpr:{{#var:segmentCount}}>9|{{#switch:{{#var:segmentCount}}
 
   }}}}|0|-1}}{{#ifexpr:{{#var:segmentCount}}>9|{{#switch:{{#var:segmentCount}}
 
     |10=666666
 
     |10=666666
Line 59: Line 59:
 
}}
 
}}
 
}}
 
}}
 +
{{PieChartGenre|diameter=200|system=SG-1000}}
 +
{{PieChartGenre|diameter=200|system=Dreamcast}}
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 12:47, 12 April 2022


aaa (2.78%)
bbb (5.56%)
ccc (8.33%)
ddd (11.11%)
eee (13.89%)
fff (16.67%)
ggg (12.5%)
hhh (12.5%)
iii (2.78%)
SG-1000







Action (41) (39.81%)
Adventure (1) (0.97%)
Educational (0) (0%)
Fighting (0) (0%)
Racing (6) (5.83%)
RPG (1) (0.97%)
Shoot-'em-up (22) (21.36%)
Simulation (0) (0%)
Sports (23) (22.33%)
Table (6) (5.83%)
Miscellaneous (3) (2.91%)
Dreamcast







Action (69) (10.22%)
Adventure (138) (20.44%)
Educational (0) (0%)
Fighting (29) (4.3%)
Racing (54) (8%)
RPG (33) (4.89%)
Shoot-'em-up (44) (6.52%)
Simulation (106) (15.7%)
Sports (69) (10.22%)
Table (76) (11.26%)
Miscellaneous (57) (8.44%)