Template:Legend: Difference between revisions

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


[[de:Vorlage:Legende]]
[[de:Vorlage:Legende]]
[[sr:Шаблон:Легенда]]
</noinclude>
</noinclude>

Revision as of 18:16, 1 January 2006


Show a legend row with a colored box.

Usage
{{legend|''color''|''label''}}

color is passed to the css background property, so it can also include images.


Example
{{legend|black|Africa}}
{{legend|green|Americas}}
{{legend|blue|Oceania}}
{{legend|#ff0|Europe}}
{{legend|#ff2800|Asia}}


   Africa

   Americas

   Oceania

   Europe

   Asia

de:Vorlage:Legende sr:Шаблон:Легенда