Anonymous user
Template:Color box: Difference between revisions
Updated from sandbox: synchronizes with other legend templates
( {{greater color contrast ratio}} to select default text color) |
(Updated from sandbox: synchronizes with other legend templates) |
||
Line 1:
<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:{{{2|}}}| {{{2}}} | }}</span><!--
--><noinclude>{{documentation}}</noinclude>
|