Template:Legend/doc

Shows a legend row with a colored box.

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

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. If you need to customize the border further, you can use the 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}}

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