Changes

Jump to navigation Jump to search
431 bytes added ,  11:38, 25 December 2021
Update from sandbox; this allows custom padding to be specified, and if so does not add   to text.
<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}}}|&nbsp;{{{2}}}&nbsp;}}
|&nbsp;}}</span><noinclude>
{{documentation}}</noinclude>
Anonymous user

Navigation menu