Template:Color box: Difference between revisions
JabicAdmin (talk | contribs) mNo edit summary Tag: Reverted |
JabicAdmin (talk | contribs) mNo edit summary Tag: Manual revert |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
<templatestyles src="Legend/styles.css" /> | <templatestyles src="Legend/styles.css" /><span class="legend-color mw-no-invert" style="forced-color-adjust:none; {{#if:{{{1|}}}|{{greater color contrast ratio|{{{1}}}|black|white|css=y}} | ||
<span class="legend-color mw-no-invert" style="forced-color-adjust:none; | }}{{#if:{{{3|}}}|color:{{{3}}}; | ||
}}{{#if:{{{border|}}}|border:1px solid {{{border}}}; | |||
{{#if:{{{3|}}}|color:{{{3}}};}} | }}{{#if:{{{padding|}}}|padding:{{{padding}}};}}">{{#if:{{{2|}}} | ||
"> | |||
|{{#if:{{{padding|}}}|{{{2}}}| {{{2}}} }} | |{{#if:{{{padding|}}}|{{{2}}}| {{{2}}} }} | ||
| | | }}</span><noinclude> | ||
{{documentation}}</noinclude> | |||
</span><noinclude> | |||
{{documentation}} | |||
</noinclude> | |||