Template:Legend: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Commander Keane
m disambiguation link repair (You can help!): CICA. felt a little dodgey, someone hsould check it
+de
Line 21: Line 21:
<div><span style="border:solid 1px silver; background:#ff0">&emsp;</span>&nbsp;Europe</div>
<div><span style="border:solid 1px silver; background:#ff0">&emsp;</span>&nbsp;Europe</div>
<div><span style="border:solid 1px silver; background:#ff2800">&emsp;</span>&nbsp;Asia</div>
<div><span style="border:solid 1px silver; background:#ff2800">&emsp;</span>&nbsp;Asia</div>
[[de:Vorlage:Legende]]
</noinclude>
</noinclude>

Revision as of 15:58, 6 December 2005


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