Citakan:Legend

Ti Wikipédia Sunda, énsiklopédi bébas
Loncat ke navigasi Loncat ke pencarian


Shows a legend row with a colored box.

Cara make
{{legend|color|label|border=border}}

color is passed to the css background-color property. The optional border argument is passed to the css border property.

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

██ Africa ██ Americas ██ Oceania ██ Europe ██ Asia

For legends involving lines on a map, see {{legend-line}}.