Changes
{{greater color contrast ratio}} to select default text color
<span style="background-color:{{{1|}}}; color:{{#if:{{{3|}}}|{{{3}}}|{{greater color contrast ratio|{{{1|}}}|black|white}}}}; border:1px solid {{{border|#000000}}}; text-align:center;">{{#if:{{{2|}}}| {{{2}}} | }}</span><noinclude>
{{documentation}}
</noinclude>
{{documentation}}
</noinclude>