Template:Legend: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>PuzzletChung
m +ko
meta>Interiot
see also {{legend-line}}
Line 21: Line 21:
<p style="margin:0px;font-size:90%"><span style="border:none;color:#FF0;background-color:#FF0">mm</span>&nbsp;Europe</p>
<p style="margin:0px;font-size:90%"><span style="border:none;color:#FF0;background-color:#FF0">mm</span>&nbsp;Europe</p>
<p style="margin:0px;font-size:90%"><span style="border:none;color:#FF2800;background-color:#FF2280">mm</span>&nbsp;Asia</p>
<p style="margin:0px;font-size:90%"><span style="border:none;color:#FF2800;background-color:#FF2280">mm</span>&nbsp;Asia</p>
For legends involving lines on a map, see {{tl|legend-line}}.


[[de:Vorlage:Legende]]
[[de:Vorlage:Legende]]

Revision as of 11:33, 1 February 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}}.

de:Vorlage:Legende es:Plantilla:Legend ko:Template:범례 pl:Szablon:Legenda sr:Шаблон:Легенда vi:Tiêu bản:Legend