Template:FBA color cell

From Furry Basketball Association
Jump to: navigation, search
Error creating thumbnail: /bin/bash: /usr/local/cpanel/3rdparty/bin/convert: No such file or directory
Template documentation
[view] [edit] [history] [purge]

This template is used for generating color style statements for FBA templates and articles

Usage

<span style="{{FBA color cell2|Team name}}">Some Text</span>

or

{|
| style="{{FBA color cell2|Team name}}" | Some Text
|}

Optional border

To add a 2px outer border, use

<span style="{{FBA color cell2|Team name|border=2}}">Some Text</span>

or

{|
| style="{{FBA color cell2|Team name|border=2}}" | Some Text
|}

Code

background-color: #{{FBA color|{{{1}}}|1}}; color: #{{FBA color|{{{1}}}|2}};{{#if:{{{border|}}}|border:{{{border}}}px solid #{{FBA color|{{{1}}}|2}};}}

See also