Difference between revisions of "Template:Legend/doc"

From blackwiki
Jump to navigation Jump to search
imported>Kingrom
Line 34: Line 34:
 
[[fr:Modèle:Légende]]
 
[[fr:Modèle:Légende]]
 
[[he:תבנית:מקרא]]
 
[[he:תבנית:מקרא]]
 +
[[hi:Template:Legend]]
 
[[it:Template:Legenda]]
 
[[it:Template:Legenda]]
 
[[ka:თარგი:ლეგენდა]]
 
[[ka:თარგი:ლეგენდა]]

Revision as of 17:05, 18 March 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}}.