Template:Color box: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported) |
No edit summary |
||
Line 1: | Line 1: | ||
<span style=" | <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}}}; | |||
}}{{#if:{{{padding|}}}|padding:{{{padding}}};}}">{{#if:{{{2|}}} | |||
|{{#if:{{{padding|}}}|{{{2}}}| {{{2}}} }} | |||
| }}</span><noinclude> | |||
{{documentation}}</noinclude> |
Latest revision as of 17:40, 5 August 2022
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |