Template:Legend inline: Difference between revisions
m Changed protection settings for "Template:Legend inline": Highly visible template: 17,000+ transclusions ([Edit=Require template editor access] (indefinite)) |
imported>TheDJ m don't invert in dark mode (same as on template:legend) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 2: | Line 2: | ||
--><templatestyles src="Legend/styles.css" /><!-- | --><templatestyles src="Legend/styles.css" /><!-- | ||
--><span class="legend nowrap"><!-- | --><span class="legend nowrap"><!-- | ||
--><span class="legend-color" style="<!-- | --><span class="legend-color mw-no-invert" style="<!-- | ||
-->{{#if:{{{border|}}}|border: {{{border}}};|{{#if:{{{outline|}}}|border: 1px solid {{{outline}}};}}}}<!-- | -->{{#if:{{{border|}}}|border: {{{border}}};|{{#if:{{{outline|}}}|border: 1px solid {{{outline}}};}}}}<!-- | ||
-->{{#if:{{{1|}}}|{{greater color contrast ratio|{{{1}}}|white|black|css=y}}}}<!-- | -->{{#if:{{{1|}}}|{{greater color contrast ratio|{{{1}}}|white|black|css=y}}}}<!-- | ||