Template:Legend/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Kingrom
No edit summary
+eo:
Line 31: Line 31:
[[cy:Nodyn:Legend]]
[[cy:Nodyn:Legend]]
[[de:Vorlage:Farblegende]]
[[de:Vorlage:Farblegende]]
[[eo:Ŝablono:Legendo]]
[[es:Plantilla:Legend]]
[[es:Plantilla:Legend]]
[[fr:Modèle:Légende]]
[[fr:Modèle:Légende]]

Revision as of 16:41, 15 May 2007

Shows a legend row with a colored box.

Usage
{{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.

Example
{{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}}.