Difference between revisions of "Template:KBL color/doc"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Frietjes |
||
| Line 10: | Line 10: | ||
<code><nowiki>{{</nowiki>[[Template:KBL color cell2|KBL 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:KBL color cell2|KBL 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; |
| Anyang KGC | | Anyang KGC | ||
| Busan KT Sonicboom | | Busan KT Sonicboom | ||
Revision as of 16:29, 26 December 2016
| 40px | This is a documentation subpage for Template:KBL color. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
Usage
{{KBL color|team name|number}}
{{KBL color cell|team name}} returns a style that uses the primary color for the background and the secondary color for the font.
{{KBL 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: #{{KBL color|Seoul Samsung Thunders|1}};">Lorem ipsum</span>
Lorem ipsum
<span style="{{KBL color cell|Seoul Samsung Thunders}}">Lorem ipsum</span>
Lorem ipsum
<span style="{{KBL color cell2|Seoul Samsung Thunders}}">Lorem ipsum</span>
Lorem ipsum
See also