Template:Legend/doc

Shows a legend row with a colored box.

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

color is passed to the css background-color property. 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.