Template:Legend

From Zoophilia Wiki
Revision as of 15:31, 3 February 2006 by meta>Zocky (this should now work for everybody with a css capable browser + making multiline labels work + return of the grey line to make light legend boxes visible)
Jump to navigationJump to search

label

Shows a legend row with a colored box.

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

color is passed to the css background property, so it can also include images. The optional border argument is passed to the css border property.

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