Anonymous

Template:Legend: Difference between revisions

From Roses, Tulips, & Liberty
border syntax
No edit summary
(border syntax)
Line 1:
<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%!important;vertical-align:middle;">&emsp;&emsp;</span>&nbsp;{{{2|}}}</p></includeonly>
<noinclude>
ShowShows a legend row with a colored box.
 
;Usage:
<nowiki>{{</nowiki>tl|legend|''color''|''label''|border=''border''<nowiki>}}</nowiki>
''color'' is passed to the [[Cascading Style Sheets|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. The optional ''border'' argument is passed to the css border property.
 
;Example:
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.