Template:Color box: Difference between revisions

From Research Realm
No edit summary
(Undo revision 494 by Ringtail Raider (talk))
Tag: Undo
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Legend/styles.css" /><span class="background-color" style="{{#if:{{{1|}}}|{{greater color contrast ratio|{{{1}}}|black|white|css=y}}
<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:{{{3|}}}|color:{{{3}}};
   }}{{#if:{{{border|}}}|border:1px solid {{{border}}};
   }}{{#if:{{{border|}}}|border:1px solid {{{border}}};

Latest revision as of 05:11, 26 May 2023