Template:Legend: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Zocky see if this is better |
meta>Zocky let's see if this helps outside image captions |
||
Line 1: | Line 1: | ||
<includeonly><p style="border:none;background:none;text-align:left; | <includeonly><p style="border:none;background:none;text-align:left;font-size:90!important%;margin:0px!important"><span style="border:{{{border|solid 1px silver}}}; background-color:{{{1|none}}};font-size:80%;vertical-align:middle;">  </span> {{{2|}}}</p> | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |
Revision as of 16:43, 16 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