Template:NBA color cell/doc
This is a documentation subpage for Template:NBA color cell. It may contain 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
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}}