Difference between revisions of "Template:Legend/doc"

From blackwiki
Jump to navigation Jump to search
imported>Петър Петров
({{Template doc page transcluded}}, IW and category -- here, instead of template)
Line 47: Line 47:
 
[[sl:Predloga:Legenda]]
 
[[sl:Predloga:Legenda]]
 
[[sr:Шаблон:Легенда]]
 
[[sr:Шаблон:Легенда]]
 +
[[sv:Mall:Legend]]
 
[[vi:Tiêu bản:Legend]]
 
[[vi:Tiêu bản:Legend]]
 
[[zh:Template:Legend]]
 
[[zh:Template:Legend]]
  
 
</includeonly>
 
</includeonly>

Revision as of 15:28, 10 February 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}}.