Template:Legend/doc: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(update)
Line 5: Line 5:
<nowiki>{{</nowiki>legend|''color''|''label''|border=''border''<nowiki>}}</nowiki>
<nowiki>{{</nowiki>legend|''color''|''label''|border=''border''<nowiki>}}</nowiki>


''color'' is passed to the [[Cascading Style Sheets|css]] background-color property. The optional ''border'' argument is passed to the css border property.
''color'' is passed to the [[Cascading Style Sheets|css]] background-color property. The optional ''border'' argument is the color of the 1 pixel border that will be drawn around the box. If the border color is omitted, the border will be the same color as the box, i.e. invisible.


;Example:
;Example: