Template:Legend: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
No edit summary |
(bah... reverting for now) |
||
Line 1:
<
<!-- You are advised to read the talk page before changing this template. -->
Shows a legend row with a colored box.
Line 17 ⟶ 16:
<p style="margin:0px;font-size:90%"><span style="border:none;color:black;background-color:black">mm</span> Africa</p>
<
<p style="margin:0px;font-size:90%"><span style="border:none;color:blue;background-color:blue">mm</span> Oceania</p>
<p style="margin:0px;font-size:90%"><span style="border:none;color:#FF0;background-color:#FF0">mm</span> Europe</p>
<p style="margin:0px;font-size:90%"><span style="border:none;color:#FF2800;background-color:#FF2280">mm</span> Asia</p>
For legends involving lines on a map, see {{tl|legend-line}}.
Line 32:
[[sr:Шаблон:Легенда]]
[[vi:Tiêu bản:Legend]]
|
Revision as of 15:38, 3 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:범례 hu:Sablon:Jelmagyarázat pl:Szablon:Legenda sr:Шаблон:Легенда vi:Tiêu bản:Legend