Template:Legend/doc

Shows a legend row with a colored box.

{{ legend|color|label|border=border }}
 * Usage:

color is passed to the css background property, so it can also include images. The optional border argument is passed to the css border property.

{{legend|black|Africa}} {{legend|green|Americas}} {{legend|blue|Oceania}} {{legend|#ff0|Europe}} {{legend|#ff2800|Asia}}
 * Example:

{{legend|black|Africa}} {{legend|green|Americas}} {{legend|blue|Oceania}} {{legend|#ff0|Europe}} {{legend|#ff2800|Asia}}

For legends involving lines on a map, see legend-line.