Template:NBA color cell/doc
This is a documentation subpage for Template:NBA color cell. It contains usage information, categories and other content that is not part of the original template page. |
This template is used for generating color style statements for NBA templates and articles
Usage
<span style="{{NBA color cell2|Team name}}">Some Text</span>
or
{| | style="{{NBA color cell2|Team name}}" | Some Text |}
Optional border
To 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
background-color: #{{NBA color|{{{1}}}|1}}; color: #{{NBA color|{{{1}}}|2}};{{#if:{{{border|}}}|border:{{{border}}}px solid #{{NBA color|{{{1}}}|2}};}}
Related pages
- {{NBA color}}
- {{NBA color cell2}}