Template:Pie Chart: Difference between revisions

From Archon Arcana - The KeyForge Wiki
No edit summary
mNo edit summary
 
Line 12: Line 12:
:|PieX Color=''Prefixed color'' (optional, will default to reverse rainbow order)
:|PieX Color=''Prefixed color'' (optional, will default to reverse rainbow order)
::Valid colors: Brobnar, Dis, Logos, Mars, Sanctum, Saurian, Shadows, Star Alliance, Untamed, CotA, AoA, WC, MM
::Valid colors: Brobnar, Dis, Logos, Mars, Sanctum, Saurian, Shadows, Star Alliance, Untamed, CotA, AoA, WC, MM
==Examples==
{{Pie_Chart
|Title=Fort Worth VT: Day 2
|Pie1=Brobnar (2)
|Pie1 Degrees=22
|Pie1 Color=Brobnar
|Pie2=Dis (5)
|Pie2 Degrees=55
|Pie2 Color=Dis
|Pie3=Logos (7)
|Pie3 Color=Logos
|Pie3 Degrees=76
|Pie4=Saurian (6)
|Pie4 Color=Saurian
|Pie4 Degrees=65
|Pie5=Shadows (4)
|Pie5 Color=Shadows
|Pie5 Degrees=44
|Pie6=Star Alliance (4)
|Pie6 Color=Star Alliance
|Pie6 Degrees=44
|Pie7=Untamed (5)
|Pie7 Degrees=55
|Pie7 Color=Untamed
|Subscript=Total Decks: 11
}}
<br clear=all>


</noinclude><templatestyles src="Template:Pie_Chart/styles.css" />
</noinclude><templatestyles src="Template:Pie_Chart/styles.css" />

Latest revision as of 15:28, 28 February 2020

Description

This template displays a pie chart with between 2 and 8 entries. The default colors are in reverse rainbow order. Currently, only the first input can go above 180 degrees, although this can be updated in the future.

How to Use

|Title=Title of the pie chart
|Subscript=Subscript or source at the bottom of the pie chart (optional)

For each pie slice, where X is a number from 1 to 8:

|PieX=Name of pie slice
|PieX Degrees=Number of degrees in the chart (total degrees should be 360)
|PieX Color=Prefixed color (optional, will default to reverse rainbow order)
Valid colors: Brobnar, Dis, Logos, Mars, Sanctum, Saurian, Shadows, Star Alliance, Untamed, CotA, AoA, WC, MM

Examples

Fort Worth VT: Day 2
  • Brobnar (2)
  • Dis (5)
  • Logos (7)
  • Saurian (6)
  • Shadows (4)
  • Star Alliance (4)
  • Untamed (5)
Total Decks: 11



{{{Title}}}
  • {{{Pie1}}}
  • {{{Pie2}}}