Template:NBA color cell
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}}
The above documentation is transcluded from Template:NBA color cell/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |