Template:Legend/doc

Shows a legend row with a colored box.

Usage
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}}

Full parameter list
{{Legend }}
 * [legend box's colo/ur]
 * [text following legend box]
 * outline =
 * border =
 * color =
 * size =
 * text =