Template:Legend: Difference between revisions

From CivWiki
Jump to navigation Jump to search
Content added Content deleted
(+catalan)
m (+fr)
Line 24: Line 24:


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

[[Category:Legend templates]]


[[ca:Template:Llegenda]]
[[ca:Template:Llegenda]]
Line 29: Line 31:
[[de:Vorlage:Legende]]
[[de:Vorlage:Legende]]
[[es:Plantilla:Legend]]
[[es:Plantilla:Legend]]
[[fr:Modèle:Légende]]
[[ko:Template:범례]]
[[ko:Template:범례]]
[[hu:Sablon:Jelmagyarázat]]
[[hu:Sablon:Jelmagyarázat]]
Line 36: Line 39:
[[vi:Tiêu bản:Legend]]
[[vi:Tiêu bản:Legend]]
[[zh:Template:Legend]]
[[zh:Template:Legend]]
[[Category:Legend templates]]

Revision as of 14:05, 3 June 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}}


mm Africa

mm Americas

mm Oceania

mm Europe

mm 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 ko:Template:범례 hu:Sablon:Jelmagyarázat pl:Szablon:Legenda ru:Шаблон:Легенда sr:Шаблон:Легенда vi:Tiêu bản:Legend zh:Template:Legend