Template:Legend: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Zocky
mNo edit summary
meta>Commander Keane
m disambiguation link repair (You can help!): CICA. felt a little dodgey, someone hsould check it
Line 5: Line 5:
;Usage:
;Usage:
  <nowiki>{{legend|''color''|''label''}}</nowiki>
  <nowiki>{{legend|''color''|''label''}}</nowiki>
''color'' is passed to the [[css]] background property, so it can also include images.
''color'' is passed to the [[Cascading Style Sheets|css]] background property, so it can also include images.





Revision as of 23:14, 4 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