Template:Color box: Difference between revisions

From WikiMD's Wellness Encyclopedia

en>Pppery
mw-no-invert per request
 
m 1 revision imported
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<templatestyles src="Legend/styles.css" /><span class="legend-color mw-no-invert" style="{{#if:{{{1|}}}|{{greater color contrast ratio|{{{1}}}|black|white|css=y}}
<templatestyles src="Legend/styles.css" /><!--
  }}{{#if:{{{3|}}}|color:{{{3}}};
--><span class="legend-color" style="<!--
  }}{{#if:{{{border|}}}|border:1px solid {{{border}}};
-->{{#if:{{{1|}}}|{{greater color contrast ratio|{{{1}}}|black|white|css=y}}}}<!--
  }}{{#if:{{{padding|}}}|padding:{{{padding}}};}}">{{#if:{{{2|}}}
-->{{#if:{{{3|}}}|color:{{{3}}};}}<!--
      |{{#if:{{{padding|}}}|{{{2}}}|&nbsp;{{{2}}}&nbsp;}}
-->{{#if:{{{border|}}}|border:1px solid {{{border}}};}}<!--
      |&nbsp;}}</span><noinclude>
-->"><!--
{{documentation}}</noinclude>
-->{{#if:{{{2|}}}|&nbsp;{{{2}}}&nbsp;|&nbsp;}}</span><!--
--><noinclude>{{documentation}}</noinclude>
{{no-index-template}}

Latest revision as of 00:34, 1 January 2025