Template:Pie chart/doc

Shows a legend row with a colored box.

Usage
{{ legend|background-color|caption|outline=outline color|border=css border }}


 * background-color is passed to the css background-color property of the color box.
 * The optional outline parameter is the color of the outline around the box.
 * The optional border argument which overrides the outline argument and sets the css description (e.g., ) of the border that will be drawn around the box.

Use in text
{{legend|black|Africa}} {{legend|green|Americas}} {{legend|blue|Oceania}} {{legend|#ffa|Europe|outline=silver}} {{legend|#ff2800|Asia|outline=#A2A9B1}} (#A2A9B1 is the wikitables border color.)

{{legend|black|Africa}} {{legend|green|Americas}} {{legend|blue|Oceania}} {{legend|#ffa|Europe|outline=silver}} {{legend|#ff2800|Asia|outline=#A2A9B1}}

Full parameter list
{{legend }}
 * [legend box's colo(u)r]
 * [text following legend box]
 * outline =
 * border =
 * color =
 * size =
 * text =

Additional information
Additional details can be found at Wikipedia Template:Legend.