Template:Color box: Difference between revisions

From Ethan's Workspace
Jump to navigation Jump to search
[[Pages]]>ISUtahraptor
(Created page with "<span style="background:{{{1}}}; color:{{{3|}}}; border:1px solid #000000; text-align:center;">{{#if:{{{2|}}}| {{{2}}} |    }}</span><noinclude>[...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<span style="background:{{{1}}}; color:{{{3|}}}; border:1px solid #000000; text-align:center;">{{#if:{{{2|}}}|&nbsp;{{{2}}}&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;}}</span><noinclude>[[Category:Function Templates]]</noinclude>
<templatestyles src="Legend/styles.css" /><span class="legend-color" style="{{#if:{{{1|}}}|{{greater color contrast ratio|{{{1}}}|black|white|css=y}}
  }}{{#if:{{{3|}}}|color:{{{3}}};
  }}{{#if:{{{border|}}}|border:1px solid {{{border}}};
  }}{{#if:{{{padding|}}}|padding:{{{padding}}};}}">{{#if:{{{2|}}}
      |{{#if:{{{padding|}}}|{{{2}}}|&nbsp;{{{2}}}&nbsp;}}
      |&nbsp;}}</span><noinclude>
{{documentation}}</noinclude>

Latest revision as of 18:40, 5 August 2022

 

Template:Color box/doc