Template:NBA color cell
This template is used for generating color style statements for NBA templates and articles
Usage
change<span style="{{NBA color cell2|Team name}}">Some Text</span>
or
{| | style="{{NBA color cell2|Team name}}" | Some Text |}
Optional border
changeTo add a 2px outer border, use
<span style="{{NBA color cell2|Team name|border=2}}">Some Text</span>
or
{| | style="{{NBA color cell2|Team name|border=2}}" | Some Text |}
Code
changebackground-color: #{{NBA color|{{{1}}}|1}}; color: #{{NBA color|{{{1}}}|2}};{{#if:{{{border|}}}|border:{{{border}}}px solid #{{NBA color|{{{1}}}|2}};}}
Related pages
change- {{NBA color}}
- {{NBA color cell2}}