Difference between revisions of "Template:KBL color/doc"
Jump to navigation
Jump to search
imported>Frietjes (auto generate) |
imported>Frietjes |
||
| Line 1: | Line 1: | ||
| − | {{#invoke:Basketball color|testtable|style=float:right;clear:right; | + | {{documentation subpage}} |
| + | {{lua|Module:Basketball color}} | ||
| + | |||
| + | == Usage == | ||
| + | |||
| + | <code><nowiki>{{</nowiki>[[Template:KBL color|KBL color]]|''team name''|''number''<nowiki>}}</nowiki></code> | ||
| + | |||
| + | <code><nowiki>{{</nowiki>[[Template:KBL color cell|KBL color cell]]|''team name''<nowiki>}}</nowiki></code> returns a style that uses the primary color for the background and the secondary color for the font. | ||
| + | |||
| + | <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; | ||
| Anyang KGC | | Anyang KGC | ||
| Busan KT Sonicboom | | Busan KT Sonicboom | ||
| Line 12: | Line 23: | ||
| South Korea national basketball team | | South Korea national basketball team | ||
}} | }} | ||
| + | == Examples == | ||
| + | |||
| + | <code><nowiki><span style="color: #{{KBL color|Seoul Samsung Thunders|1}};">Lorem ipsum</span></nowiki></code> | ||
| + | |||
| + | <span style="color: #{{KBL color|Seoul Samsung Thunders|1}};">Lorem ipsum</span> | ||
| + | |||
| + | <code><nowiki><span style="{{KBL color cell|Seoul Samsung Thunders}}">Lorem ipsum</span></nowiki></code> | ||
| + | |||
| + | <span style="{{KBL color cell|Seoul Samsung Thunders}}">Lorem ipsum</span> | ||
| − | == | + | <code><nowiki><span style="{{KBL color cell2|Seoul Samsung Thunders}}">Lorem ipsum</span></nowiki></code> |
| + | |||
| + | <span style="{{KBL color cell2|Seoul Samsung Thunders}}">Lorem ipsum</span> | ||
== See also == | == See also == | ||
| − | *[[Template: | + | *[[Template:NBA color]] |
| − | *[[Template: | + | *[[Template:NBA color cell]] |
| + | *[[Template:NBA color cell2]] | ||
<includeonly> | <includeonly> | ||
Revision as of 15:00, 6 April 2015
| File:Edit-copy green.svg | 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".
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