Template:Color box: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(why do you do this? is it deliberate, to make people think that the template is broken and so get people to !vote delete? It *BREAKS* list markup, and so is an WP:ACCESS issue)
m (30 revisions imported from wikipedia:Template:Color_box)
 
(10 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<templatestyles src="Legend/styles.css" /><span class="legend-color" style="{{#if:{{{1|}}}|{{greater color contrast ratio|{{{1}}}|black|white|css=y}}
{{Tfm/dated|page=Color box|otherpage=Colorbox|link=Wikipedia:Templates for discussion/Log/2015 July 27#Template:Color box|type=tiny|help=off}}<span style="background-color:{{{1|}}}; color:{{{3|}}}; border:1px solid #000000; text-align:center;">{{#if:{{{2|}}}|&nbsp;{{{2}}}&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;}}</span><noinclude>
}}{{#if:{{{3|}}}|color:{{{3}}};
{{documentation}}
}}{{#if:{{{border|}}}|border:1px solid {{{border}}};
</noinclude>
}}{{#if:{{{padding|}}}|padding:{{{padding}}};}}">{{#if:{{{2|}}}
|{{#if:{{{padding|}}}|{{{2}}}|&nbsp;{{{2}}}&nbsp;}}
|&nbsp;}}</span><noinclude>
{{documentation}}</noinclude>

Latest revision as of 19:24, 17 February 2024