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 | <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}}};}}<!-- | |||
-->"><!-- | |||
{{documentation}}</noinclude> | -->{{#if:{{{2|}}}| {{{2}}} | }}</span><!-- | ||
--><noinclude>{{documentation}}</noinclude> | |||
{{no-index-template}} | |||
Latest revision as of 00:34, 1 January 2025