Template:Color box: Difference between revisions

From NARA
Jump to navigation Jump to search
(Created page with "<templatestyles src="Legend/styles.css" /><span class="legend-color" title="{{title case|{{{description|{{{1}}}}}}}}" 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}}}| {{{2}}} }} | }}</span>")
 
No edit summary
 
Line 1: Line 1:
<templatestyles src="Legend/styles.css" /><span class="legend-color" title="{{title case|{{{description|{{{1}}}}}}}}" style="{{#if:{{{1|}}}|{{greater color contrast ratio|{{{1}}}|black|white|css=y}}  
<span class="legend-color" title="{{title case|{{{description|{{{1}}}}}}}}" style="{{#if:{{{1|}}}|{{greater color contrast ratio|{{{1}}}|black|white|css=y}}  
   }}{{#if:{{{3|}}}|color:{{{3}}};
   }}{{#if:{{{3|}}}|color:{{{3}}};
   }}{{#if:{{{border|}}}|border:1px solid {{{border}}};
   }}{{#if:{{{border|}}}|border:1px solid {{{border}}};

Latest revision as of 03:47, 24 June 2023