Difference between revisions of "Template:BIC Basket color/doc"

From blackwiki
Jump to navigation Jump to search
imported>Valmir144
imported>Frietjes
Line 10: Line 10:
 
<code><nowiki>{{</nowiki>[[Template:BIC Basket color cell2|BIC Basket color cell2]]|''team name''<nowiki>}}</nowiki></code> returns a similar style but uses the tertiary and quaternary colors instead of the primary and secondary, respectively.
 
<code><nowiki>{{</nowiki>[[Template:BIC Basket color cell2|BIC Basket color cell2]]|''team name''<nowiki>}}</nowiki></code> returns a similar style but uses the tertiary and quaternary colors instead of the primary and secondary, respectively.
  
{{#invoke:Basketball color|testtable|style=float:right;clear:right;margin-left:1em;
+
{{#invoke:Basketball color/contrast|testtable|style=float:right;clear:right;margin-left:1em;
 
| ASA
 
| ASA
 
| Interclube
 
| Interclube

Revision as of 16:18, 26 December 2016

Usage

{{BIC Basket color|team name|number}}

{{BIC Basket color cell|team name}} returns a style that uses the primary color for the background and the secondary color for the font.

{{BIC Basket color cell2|team name}} returns a similar style but uses the tertiary and quaternary colors instead of the primary and secondary, respectively.

Script error: No such module "Basketball color/contrast".

Examples

<span style="color: #{{BIC Basket color|ASA|1}};">Lorem ipsum</span>

Lorem ipsum

<span style="{{BIC Basket color cell|Petro de Luanda}}">Lorem ipsum</span>

Lorem ipsum

<span style="{{BIC Basket color cell2|Recreativo do Libolo}}">Lorem ipsum</span>

Lorem ipsum

See also