Template:Legend: Difference between revisions

From CivWiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
(rmy+)
Line 34: Line 34:
[[hu:Sablon:Jelmagyarázat]]
[[hu:Sablon:Jelmagyarázat]]
[[pl:Szablon:Legenda]]
[[pl:Szablon:Legenda]]
[[rmy:Xalyaripen]]r
[[ru:Шаблон:Легенда]]
[[ru:Шаблон:Легенда]]
[[sl:Predloga:Legenda]]
[[sl:Predloga:Legenda]]

Revision as of 13:21, 9 July 2006

██  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}}

██ Africa ██ Americas ██ Oceania ██ Europe ██ Asia

For legends involving lines on a map, see {{legend-line}}.

ca:Template:Llegenda cy:Nodyn:Legend de:Vorlage:Legende es:Plantilla:Legend fr:Modèle:Légende ka:თარგი:ლეგენდა ko:Template:범례 hu:Sablon:Jelmagyarázat pl:Szablon:Legenda rmy:Xalyaripenr ru:Шаблон:Легенда sl:Predloga:Legenda sr:Шаблон:Легенда vi:Tiêu bản:Legend zh:Template:Legend