Template:Legend/doc

Shows a legend row with a colored box.

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

color is passed to the css background-color property. The optional border argument is 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|#ff0|Europe}} {{legend|#ff2800|Asia}}

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