Template:Legend: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
No edit summary |
|||
Line 22: | Line 22: | ||
<p style="margin:0px;font-size:90%"><span style="border:solid 1px silver; font-size:80%;vertical-align:middle; background-color:#FF2800;">  </span> Asia</p> |
<p style="margin:0px;font-size:90%"><span style="border:solid 1px silver; font-size:80%;vertical-align:middle; background-color:#FF2800;">  </span> Asia</p> |
||
[[pl:Szablon:Legenda]] |
|||
[[de:Vorlage:Legende]] |
[[de:Vorlage:Legende]] |
||
[[sr:Шаблон:Легенда]] |
[[sr:Шаблон:Легенда]] |
Revision as of 09:09, 7 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