Teimpléad:Legend

Ón Vicipéid, an chiclipéid shaor.
Jump to navigation Jump to search

██ 

Shows a legend row with a colored box.

Úsáid
{{legend|color|label|border=border}}

color is passed to the css background property, so it can also include images. The optional border argument (e.g. 1px solid #aaa) is passed to the css border property.

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

██ Africa

██ Americas

██ Oceania

██ Europe

██ Asia