Template:Legend

From Zoophilia Wiki
Revision as of 04:26, 2 December 2005 by meta>Zocky (A handy colored box legend template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Show a legend row with a colored box.

Usage
{{legend|''color''|''label''}}

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


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


 Africa
 Americas
 Oceania
 Europe
 Asia