Template:Legend: Difference between revisions

From CivWiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 23: Line 23:


[[de:Vorlage:Legende]]
[[de:Vorlage:Legende]]
[[en:Plantilla:Legend]]
[[es:Plantilla:Legend]]
[[pl:Szablon:Legenda]]
[[pl:Szablon:Legenda]]
[[sr:Шаблон:Легенда]]
[[sr:Шаблон:Легенда]]

Revision as of 07:43, 19 January 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

de:Vorlage:Legende es:Plantilla:Legend pl:Szablon:Legenda sr:Шаблон:Легенда